Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: localizing handles with anonymous subroutines

by particle (Vicar)
on Jun 10, 2002 at 16:13 UTC ( #173209=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dispatch = (
      sub_get_files => sub{ # takes one arg
    ...
    
    my @files = $dispatch{sub_get_files}->( $dir );
    
  2. or download this
    .
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2022-06-27 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (86 votes). Check out past polls.

    Notices?