
August 7th, 2012, 03:09 AM
|
|
Registered User
|
|
Join Date: Aug 2012
Posts: 4
Time spent in forums: 15 m 44 sec
Reputation Power: 0
|
|
|
Is this some oop stuff
Hello!
I am trying to call a function here:
$Dashboard::dashboard->DoSomething($myvariable_1, $myvariable_2, $myvariable_3, $myvariable_4,$myvariable_5);
sub DoSomething {
my ( $self, $myvariable_1, $myvariable_2, $myvariable_3, $myvariable_4,$myvariable_5 ) = @_;
$self->_debug("1: $myvariable_1\n");
$self->_debug("2: $myvariable_2\n");
$self->_debug("3: $myvariable_3\n");
$self->_debug("4: $myvariable_4\n");
$self->_debug("5: $myvariable_5\n");
Is this $self some reserved variable in perl ? This is not working. saying uninitialised value for the variables @myvariable_1-5
|