system
1
Hi,
i have just tried something in perl
#!/path/to/perl
print "login: ";
$login = <STDIN>;
print "\npassword: ";
$password = <STDIN>;
print "Username=$login\n";
print "Password=$password\n";
And it doesnt work, anyone know how i can get more than one line?
Cheers,
Elfyn
PxT
2
Why do you need to get more than one line?
$login = <STDIN>;
$password = <STDIN>;
should each read one line from the keyboard. Is that what you are tying to do?
system
3
I need to get to lines of input username/password and then run them against a login program.