Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Get a function argument's name

by slaniel (Acolyte)
on Jul 05, 2006 at 17:51 UTC ( [id://559399]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub run_and_time(&@) {
        use Time::HiRes;
    ...
        my @retlist = &{$func}(@_);
        print "Time to run $funcName: ", tv_interval($start_time), "\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-18 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found