Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: redirecting stdin on windows

by myocom (Deacon)
on Aug 21, 2002 at 16:36 UTC ( [id://191787]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "username: ";
    chomp ($uname = <STDIN>);
    print "\npassword: ";
    chomp ($password = <STDIN>);
    print "\nYou entered username $uname and password $password\n";
    
  2. or download this
    someusername
    somepassword
    
  3. or download this
    perl script.pl < answer.txt
    
  4. or download this
    C:\test\scratch>perl script.pl < answer.txt
    username:
    password:
    You entered username someusername and password somepassword
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found