in reply to Net::FTP problem

sorry i forgot to include a line in the code above

use Net::FTP; my $hostname=xxxx'; my $user='xxxx'; my $password='xxxx'; my $ftp=Net::FTP -> new($hostname) or die ("Connect failed"); $ftp->login($username,$password); $ftp->quit;

Replies are listed 'Best First'.
Re: Re: Net::FTP problem
by dvergin (Monsignor) on Feb 26, 2002 at 16:36 UTC
    This is an absolutely classic example of the need for use strict. It would have flagged your problem immediately and precisely. Don't code without it.