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

Re: About a piece of code

by tweetiepooh (Friar)
on Aug 05, 2009 at 11:02 UTC ( #786051=note: print w/replies, xml ) Need Help??


in reply to About a piece of code

Simply put is skips blank lines.

m/^\n/ is a regular expression for start of line followed by new line.

and next means go the the next item in input if regular expression is true.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://786051]
help
Chatterbox?
[Corion]: Discipulus: Aaah, no, while I'm working on connecting the VR libraries to Perl, I'm not lost there ;) Although I watched The Matrix with a friend in London ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2016-12-06 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.