Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Shift versus Sanity

by d_i_r_t_y (Monk)
on Apr 25, 2002 at 08:34 UTC ( [id://161892]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub do_stuff
    {
    ...
          my $cgi  = shift || new CGI ();
           ...
    }
    
  2. or download this
    [matt@dirty matt]$ ./test_arg_passing.pl
    Benchmark: timing 2000000 iterations of 
    ...
    shifty_3args: 23 wallclock secs 
    (23.91 usr +  0.01 sys = 23.92 CPU) @ 83612.04/s (n=2000000)
    total: 42000000
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    );
    
    print "total: " . $object->value . "\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found