Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Private variable in class method does not go out of scopeby Anonymous Monk |
on Jul 09, 2024 at 11:53 UTC ( [id://11160469]=note: print w/replies, xml ) | Need Help?? |
my $data = shift if (@_);am I missing something?? Why type those () around @_? Since that shift refers to @_ and returns undef if @_ is empty why ask about @_?
In Section
Seekers of Perl Wisdom
|
|