knovicki has asked for the wisdom of the Perl Monks concerning the following question:
Can't call method "login" on an undefined value#!/usr/bin/perl -w # test.pl use warnings; use Net::FTP; $ftp = Net::FTP->new("svr123", Debug => 1); print STDOUT ( defined $ftp ? "yep" : '$ftp' ), "\n"; $ftp->login("oracle",'xxx'); $ftp->cwd("/u01"); $ftp->put("test.dat"); $ftp->quit;
20040928 Janitored by Corion: Put code in code tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Net::FTP.pm Blues
by dave_the_m (Monsignor) on Sep 28, 2004 at 13:26 UTC | |
by jfroebe (Parson) on Sep 28, 2004 at 13:32 UTC | |
Re: Net::FTP.pm Blues
by cfreak (Chaplain) on Sep 28, 2004 at 13:36 UTC | |
Re: Net::FTP.pm Blues
by knovicki (Initiate) on Sep 28, 2004 at 14:29 UTC | |
by dave_the_m (Monsignor) on Sep 28, 2004 at 19:14 UTC | |
Re: Net::FTP.pm Blues
by Rhose (Priest) on Sep 28, 2004 at 13:27 UTC | |
by knovicki (Initiate) on Sep 28, 2004 at 15:02 UTC | |
Re: Net::FTP.pm Blues
by fjaenale (Acolyte) on Sep 28, 2004 at 13:59 UTC |