Re: Problem with little ftpscript

2007-10-04 Thread Jeff Pang
Hi, I mean you should use Net::FTP rather than NET::FTP. the package name is sensitive for capital letters. 2007/10/4, Ruprecht Helms <[EMAIL PROTECTED]>: > Hi Jeff > >> Can't locate object method "new" via package "NET::FTP" (perhaps you > >> forgot to load "NET::FTP"?) at ./auftraege_holen.pl l

Re: Problem with little ftpscript

2007-10-04 Thread Ruprecht Helms
Hi Jeff >> Can't locate object method "new" via package "NET::FTP" (perhaps you >> forgot to load "NET::FTP"?) at ./auftraege_holen.pl line 7. >> > > Hi, > > The correct package name is Net::FTP,see this module on cpan: > http://search.cpan.org/~gbarr/libnet-1.22/Net/FTP.pm > I just reinstalled

Re: Problem with little ftpscript

2007-10-04 Thread Jeff Pang
2007/10/4, Ruprecht Helms <[EMAIL PROTECTED]>: > > Can't locate object method "new" via package "NET::FTP" (perhaps you > forgot to load "NET::FTP"?) at ./auftraege_holen.pl line 7. > Hi, The correct package name is Net::FTP,see this module on cpan: http://search.cpan.org/~gbarr/libnet-1.22/Net/

Re: Problem with little ftpscript

2007-10-04 Thread Jeff Pang
2007/10/4, Ruprecht Helms <[EMAIL PROTECTED]>: > Hi, > > I get an errormessage that the global symbol ftp requires explicit > package name. This is my little script: > > #!/usr/bin/perl > > use strict; > use warnings; > > use Net::FTP; > $ftp = NET::FTP->new(""); > $ftp->login("",""); > $ftp->cwd("

Problem with little ftpscript

2007-10-04 Thread Ruprecht Helms
Hi, I get an errormessage that the global symbol ftp requires explicit package name. This is my little script: #!/usr/bin/perl use strict; use warnings; use Net::FTP; $ftp = NET::FTP->new(""); $ftp->login("",""); $ftp->cwd("/html"); $ftp->get("wir_neu.html"); What have I todo? Regards, Rupr