Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Shift versus Sanity

by Juerd (Abbot)
on Apr 23, 2002 at 22:51 UTC ( #161476=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub TIESCALAR { bless \(my $foo = pop), shift; }
    sub STORE { ${ +shift } = pop }
    ...
        my ($self, %options) = @_;
        ...
    }
    
  2. or download this
    # Bad
    sub foo {
    ...
        my $bar = shift;
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-10-28 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (96 votes). Check out past polls.

    Notices?