Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Unwanted line breaks-- why?

by VinsWorldcom (Vicar)
on Oct 25, 2012 at 20:16 UTC ( #1000934=note: print w/ replies, xml ) Need Help??


in reply to Unwanted line breaks-- why?

foreach $line (@works) { chomp $line; # ADD THIS LINE


Comment on Re: Unwanted line breaks-- why?
Download Code
Replies are listed 'Best First'.
Re^2: Unwanted line breaks-- why?
by jeffrgsf (Novice) on Oct 25, 2012 at 20:29 UTC
    ....and there you go! Thanks Master VinsWorldcom!

    "When I first met you, I was but a learner..." --Darth Vader

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-08-05 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (81 votes), past polls