Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: flag function

by Marshall (Canon)
on Jul 11, 2018 at 17:12 UTC ( [id://1218332]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "start\n" if (grep {/test/}<TEST>);
    
  2. or download this
    while (<TEST> and !$flag){}   #UPDATE---see below discussion!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found