Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 meditating upon the Monastery: (4)
As of 2018-07-22 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (456 votes). Check out past polls.

    Notices?