Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Multiple STDIN sources

by dada (Chaplain)
on Mar 10, 2004 at 15:03 UTC ( #335462=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Multiple STDIN sources
in thread Multiple STDIN sources

that's easy enough, fortunately. just change the open line from Abigail's code to read:
if($^O eq 'MSWin32') { open(STDIN, "CON") or die $!; } else { open(STDIN, "/dev/tty") or die $!; }
cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://335462]
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 2022-01-27 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?