Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How do I remove spaces between sequences in a file

by pvaldes (Chaplain)
on Jun 19, 2013 at 21:56 UTC ( #1039850=note: print w/replies, xml ) Need Help??


in reply to How do I remove spaces between sequences in a file

See $/ in perldoc perlvar. (And read this )

$/:  The input record separator, newline by default. This influences Perl's idea of what a "line" is.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039850]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-02-19 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.