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

Re: autoload usage

by perlthirst (Scribe)
on Feb 02, 2009 at 11:28 UTC ( #740662=note: print w/ replies, xml ) Need Help??


in reply to autoload usage

For your Reference

use strict; use warnings; testing("ARG1"); sub AUTOLOAD { my $pg = our $AUTOLOAD; print "Function Name ->$pg<-\n"; print "Arguments ". join "\n", @_; }

Output will be:
Function Name ->main::testing<-
Arguments ARG1


Comment on Re: autoload usage
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-31 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls