Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Use of next if...

by Rhose (Priest)
on Nov 13, 2001 at 01:38 UTC ( #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
Node Status?
node history
Node Type: note [id://124922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2019-08-24 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?