Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Nested Loops vs Good programming

by ikegami (Patriarch)
on Nov 14, 2008 at 20:05 UTC ( [id://723716]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $count = @{ $doc->{$sub1} };
    for (my $i=0; $i<$count; $i++)
    
  2. or download this
    my $count = @{ $doc->{$sub1} };
    for my $i ( 0 .. $count-1 )
    
  3. or download this
    my $last = $#{ $doc->{$sub1} };
    for my $i ( 0 .. $last )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found