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
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
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/
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("
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