Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Use of next if...

by Rhose (Priest)
on Nov 13, 2001 at 01:38 UTC ( [id://124922]=note: print w/replies, xml ) Need Help??


in reply to Use of next if...

Here is a sample with next if. (Quick language tutorial for my 1 year old. *Smiles*)

use strict; while(<DATA>) { next if /^Bad/; print; } __DATA__ Good:Good morning Bad:Shut up Good:You're welcome Bad:No!

Log In?
Username:
Password:

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

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

    No recent polls found