Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Canon concerning coderef calls?

by revdiablo (Prior)
on Nov 15, 2004 at 22:40 UTC ( [id://407995]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach (@list) {
        my $coderef = main->can($_);
        &$coderef($_);
    }
    
  2. or download this
    foreach (@list) {
        my $coderef = UNIVERSAL::can('main', $_);
        &$coderef($_);
    }
    
  3. or download this
    foreach (@list) {
        main->$_($_);
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found