Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (4)
As of 2022-08-09 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?