felipon has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,
I downloaded the last revision for ftplib.pl, but gets several syntax errors, and have'nt found a repository with LISTing the files to select the ones to FTPing, willing to stick .

The errors, I am getting on, are at lines 696, 703 , 767,
Use of uninitialized value at ftplib.pl

123,124,125,129,
Useless use of a variable in void context ...

592
Value of <HANDLE> construct can't be 0 test with defined()

Just runing the 18LST05.pl from the "Perl 5 By example" book for testing purposes of using this lib.

Anyone willing to give me a hand with this?

Replies are listed 'Best First'.
Re: Using ftplib.pl
by PodMaster (Abbot) on Aug 02, 2004 at 23:14 UTC
    Where'd you download ftplib.pl from? I'd use Net::FTP if I were you.

    The errors, I am getting on, are at lines 696, 703 , 767, Use of uninitialized value at ftplib.pl

    123,124,125,129, Useless use of a variable in void context ...

    Those are called "warnings" (perldoc perldiag, perldoc warnings), and they won't stop your program from running.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.