Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: use slack;

by autark (Friar)
on Dec 20, 2000 at 19:18 UTC ( [id://47587]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    sub foo { print "bar\n" }
    ...
    my $func_ref = \&{$func};
    
    $func_ref->();
    
  2. or download this
    sub AUTOLOAD {
        # get params and function
        # ...
    ...
        my $func_ref = \&{$func};
        goto &{$func_ref};
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-04-23 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found