Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by tye (Sage)
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        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-12-16 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (459 votes). Check out past polls.

    Notices?