Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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.


Comment on Re: About a piece of code
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2014-09-17 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (79 votes), past polls