Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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
Replies are listed 'Best First'.
Re^3: Chomp is removing the whole word instead of the newline
by Anonymous Monk on Jul 25, 2012 at 10:15 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2015-07-28 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls