Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Chomp is removing the whole word instead of the newline

by slayedbylucifer (Scribe)
on Jul 25, 2012 at 09:55 UTC ( #983597=note: print w/replies, xml ) Need Help??


in reply to Re: Chomp is removing the whole word instead of the newline
in thread Chomp is removing the whole word instead of the newline

exactly. On my fedora, It does show output. But on my ubuntu, it does not show any output unless I add "\n" to the print statement. Is this an expected behaviour ?
  • Comment on Re^2: Chomp is removing the whole word instead of the newline

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-11-23 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (328 votes). Check out past polls.

    Notices?