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

Re: Dynamically create a foreach loop within a foreach loop?

by educated_foo (Vicar)
on Dec 11, 2013 at 15:28 UTC ( #1066635=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo
    {
    ...
            }
        }
    }
    
  2. or download this
    $depth = compute_hash_depth;
    $code = '...';
    ...
        $code = "while (my (\$k$_, \$v$_) = each \$v$prev) { $code }";
    }
    eval $code;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-12-03 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (29 votes). Check out past polls.

    Notices?