Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Weird Term::Prompt behaviour

by gargle (Hermit)
on Sep 20, 2012 at 12:01 UTC ( #994640=note: print w/ replies, xml ) Need Help??

in reply to Re: Weird Term::Prompt behaviour
in thread Weird Term::Prompt behaviour

What I find weird is that the '\n' are gone when I pipe or use redirection. So come these two runs don't give the same output, that's what I would like to know :

[gargle@vlds204 reporting]$ ./ password: x alfa beta
[gargle@vlds204 reporting]$ ./ | tee test.txt x password: alfabeta[gargle@vlds204 reporting]$ [gargle@vlds204 reporting]$
if ( 1 ) { $postman->ring() for (1..2); }

Comment on Re^2: Weird Term::Prompt behaviour
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2015-11-28 08:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls