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 lurking in the Monastery: (7)
As of 2015-07-31 06:04 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 (274 votes), past polls