Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: switch statement for subroutines?

by bikeNomad (Priest)
on Jul 27, 2001 at 23:17 UTC ( #100422=note: print w/replies, xml ) Need Help??


in reply to switch statement for subroutines?

{ # localize the lack of B&D no strict 'refs'; foreach my $sub (@do_something) { $sub->() } }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-05-13 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (134 votes). Check out past polls.

    Notices?