Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 1261
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: tony_mcguinness [...] amt-sybex.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.12
Fixed in: (no value)



Subject: Problems using Net:FTP under Perl 5.00404
I got: Can't declare undef operator in my at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/Cmd.pm line 500, near ") =" BEGIN failed--compilation aborted at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/FTP.pm line 20. BEGIN failed--compilation aborted at /usr/users/tony/perl/ftptest3.pl line 6. when I tried to use Net::FTP and the error seems to come from the following line in Cmd.pm: my (undef,$len,$offset) = @_; The perl version I am using is 5.004_04. The libnet version is libnet-1.12 uname -a yields: SunOS homer 5.6 Generic_105181-22 sun4u sparc SUNW,Ultra-4 Cmd.pm has a statement in it saying "require 5.001;" tony_mcguinness@amt-sybex.com
Date: Wed, 10 Jul 2002 14:50:55 +0100
From: Graham Barr <gbarr [...] pobox.com>
To: Guest via RT <bug-libnet [...] rt.cpan.org>
Cc: 'AdminCc of cpan Ticket #1261': ;
Subject: Re: [cpan #1261] Problems using Net:FTP under Perl 5.00404
Try changing that line to my ($len, $offset) = @_[1,2]; Graham. On Wed, Jul 10, 2002 at 09:49:38AM -0400, Guest via RT wrote: Show quoted text
> > > This message about libnet was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=1261 > > > I got: > > Can't declare undef operator in my at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/Cmd.pm line 500, near ") =" > BEGIN failed--compilation aborted at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/FTP.pm line 20. > BEGIN failed--compilation aborted at /usr/users/tony/perl/ftptest3.pl line 6. > > when I tried to use Net::FTP > > and the error seems to come from the following > line in Cmd.pm: > > my (undef,$len,$offset) = @_; > > The perl version I am using is 5.004_04. > > The libnet version is libnet-1.12 > > uname -a yields: > > SunOS homer 5.6 Generic_105181-22 sun4u sparc SUNW,Ultra-4 > > Cmd.pm has a statement in it saying "require 5.001;" > > tony_mcguinness@amt-sybex.com