Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: iterators: traversing arbitrary data structure

by CaMelRyder (Pilgrim)
on Jan 12, 2006 at 04:55 UTC ( #522618=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub recIterate{
       my $ref = shift;
    ...
    }
    
  2. or download this
    #you will need to define your own mutator function
    sub someFunc{ #removes tabs
    ...
    %nDimHash; #this might be a HoAoHoAoAoAoS or whatever;
    %nDimHash = recIterate(\%recIterate, \&someFunc);
    
  3. or download this

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-03-02 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (42 votes). Check out past polls.

    Notices?