costas has asked for the wisdom of the Perl Monks concerning the following question:
the error i get is:#!/usr/bin/perl -w use Net::FTP; my $hostname='xxx.xx.x.x'; my $user='xxxxxx'; my $password='xxxx'; my $ftp=Net::FTP -> new($hostname) or die ("Connect failed"); $ftp->quit;
Does anybody recognise this error and how to fix it?Name "main::username" used only once: possible typo at filedate.pl lin +e 15.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP problem
by talexb (Chancellor) on Feb 26, 2002 at 16:27 UTC | |
|
Re: Net::FTP problem
by Dog and Pony (Priest) on Feb 26, 2002 at 16:22 UTC | |
|
Re: Net::FTP problem
by Zaxo (Archbishop) on Feb 26, 2002 at 16:28 UTC | |
|
Re: Net::FTP problem
by costas (Scribe) on Feb 26, 2002 at 16:17 UTC | |
by dvergin (Monsignor) on Feb 26, 2002 at 16:36 UTC |