vemulakonda uday bhaskar wrote:

hi all

my code looks like this:

#!/usr/bin/perl
$ftp=Net::FTP->new("xxx.xxx.xxx.xxx") else die "not connected";
$u=<STDIN>;
CHOMP $u;
$p=<STDIN>;
CHOMP $p;
$ftp->login($u,$p) or die "login failed";

the code is working fine
but the problem is when it asks password i need to give it , and so is visible to all. Is there any method so that the typed password can be typed secures so that it would get displayed as '*'s or some thing of that sort.


perldoc -q 'How do I ask the user for a password?'



please help me in this regard'

with Regards
uday bhaskar




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to