Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: break out my foreach loop

by NetWallah (Abbot)
on Sep 03, 2012 at 00:12 UTC ( #991338=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my  $octetstr;
    ($octetstr)= m/^Routing entry for\s+([\d\.]+)/ and last for @Output;
    die "No Routing address found in \@Output\n" unless $octetstr; 
    
  2. or download this
    my  @Route;
    @Route= m/^Routing entry for\s+(\d+)\.(\d+)\.(\d+)\.(\d+)/ and last fo
    +r @Output;
    die "No Routing address found in \@Output\n" unless  @Route;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-10-02 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (52 votes), past polls