Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Can I check if a loop's scope is entered for the first time?

by LanX (Sage)
on May 05, 2018 at 17:25 UTC ( #1214099=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( my $next = <$obj> ) {
        ...
    }
    
  2. or download this
    while ( my $next = <generator($limit)> ) {
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-10-07 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (30 votes). Check out past polls.

    Notices?