Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Checking if STDIN contains data on win32 (-t)

by tye (Cardinal)
on Oct 26, 2007 at 02:18 UTC ( #647315=note: print w/ replies, xml ) Need Help??


in reply to Re: Checking if STDIN contains data on win32
in thread Checking if STDIN contains data on win32

-t STDIN
always seem to return 1?!

Not for me:

C:\> perl -lwe "printf '<%s>', -t STDIN" <1> C:\> perl -e1 | perl -lwe "printf '<%s>', -t STDIN" <> C:\> perl -lwe "printf '<%s>', -t STDIN" < AUTOEXEC.BAT <>

- tye        


Comment on Re^2: Checking if STDIN contains data on win32 (-t)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-10-01 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls