Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc

by davido (Archbishop)
on Sep 01, 2012 at 23:47 UTC ( #991217=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @swapped = swap ( qw(this that) );
    
  2. or download this
    my @swapped = swap( $variables_that_should, $not_be_swapped )
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-01-28 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (211 votes), past polls