Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: shift vs @_

by sgifford (Prior)
on Oct 02, 2006 at 19:18 UTC ( #575930=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $self = ref $_[0] ? shift : undef;
    my($arg1,$arg2,$arg3)=@_;
    
  2. or download this
    sub my_sort
    {
      my $sortname = shift;
      return sort $SORTS{$sortname} @_;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575930]
help
Chatterbox?
[stevieb]: did my pull request challenge today, Locale::gettext. Weird layout for a dist, and I have no idea how to use it, but it's always nice when you can force someone else's work be use strict; and use warnings; compliant :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-01-24 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (199 votes). Check out past polls.