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

Re^2: Input record separator

by travisbickle34 (Beadle)
on Mar 18, 2005 at 10:31 UTC ( [id://440658]=note: print w/replies, xml ) Need Help??


in reply to Re: Input record separator
in thread Input record separator

Thanks a lot guys - both very valid and helpful suggestions.
Being a newbie, I was under the miconception that chomp ONLY removed newlines.

Replies are listed 'Best First'.
Re^3: Input record separator
by bart (Canon) on Mar 18, 2005 at 10:45 UTC
    No, chomp removes whatever currently is in $/, or what it matches (= multiple newlines) in the only case that actually acts like a regexp: paragraph mode.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-24 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found