Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Shift versus Sanity

by d_i_r_t_y (Monk)
on Apr 25, 2002 at 08:34 UTC ( #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
Node Status?
node history
Node Type: note [id://161892]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2020-11-27 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?