Vemulakonda Uday Bhaskar wrote at Tue, 01 Jul 2003 09:11:00 +0000:

> my code looks like this:
> 
> #!/usr/bin/perl

Missing
use strict;
use warnings;

> $ftp=Net::FTP->new("xxx.xxx.xxx.xxx") else die "not connected";
                                        ^^^^

or

> $u=<STDIN>;
> CHOMP $u;
  ^^^^^

chomp

> $p=<STDIN>;
> CHOMP $p;
> $ftp->login($u,$p) or die "login failed";
> 
> the code is working fine

I doubt it.

> 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.


Greetings,
Janek

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

Reply via email to