Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 rifling through the Monastery: (9)
As of 2015-07-03 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls