Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: next within one subroutine that looks to another subroutine

by ehdonhon (Curate)
on Feb 13, 2002 at 19:33 UTC ( [id://145266]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub action {
      for my $i(@list) {
    ...
        print "Decide sub didn't call next!\n";
      }
    }
    
  2. or download this
    sub foo { next I; };
    I: foreach my $a ( 1..5 ) {
    ...
      &foo(); 
      print "$a\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-20 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found