Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by GlitchMr (Sexton)
on Aug 23, 2012 at 08:53 UTC ( #989244=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    ...
    }
    
    Package2->new->quick_method( 1, 2, 3 );
    
  2. or download this
    $VAR1 = bless( {}, 'Package2' );
    $VAR2 = 1;
    $VAR3 = 2;
    $VAR4 = 3;
    

Log In?
Username:
Password:

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

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











    Results (38 votes). Check out past polls.

    Notices?