Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^8: loop surprise

by Marshall (Canon)
on Apr 04, 2018 at 17:59 UTC ( [id://1212322]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $interesting_index;
    my $i = 0;
    ...
    }
    
    # spit an error if $interesting_index is still 'not defined'
    
  2. or download this
    for (my $i=1; !defined($interesting_index) and $i<=10; $i++){}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found