Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 browsing the Monastery: (5)
As of 2016-12-11 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.