Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Don't get too cute about modifying and using @_ in the same line of code

by aufflick (Deacon)
on Aug 23, 2012 at 07:18 UTC ( #989223=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub quick_method {
        return shift->SUPER::some_other_method(@_);
    }
    
  2. or download this
    sub quick_method {
        my $self = shift;
        my @args = @_;
        return $self->SUPER::some_other_method(@args);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://989223]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2023-12-02 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (16 votes). Check out past polls.

    Notices?