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

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

by LanX (Sage)
on May 05, 2018 at 13:52 UTC ( #1214094=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        return $iter;
    
    }
    
  2. or download this
    4: 3: 2: 1: 0: 
    3: 2: 1: 0: 
    2: 1: 0: 
    1: 0: 
    0:
    
  3. or download this
    while ( countdown $limit => my $a ) {
        ....
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1214094]
Approved by Perlbotics
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

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











    Results (30 votes). Check out past polls.

    Notices?