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

my script is erroring out at  Net::FTP::A=GLOB(0x8232fc4)

how can I dereference this?

Replies are listed 'Best First'.
Re: dereference a glob
by davorg (Chancellor) on Aug 07, 2001 at 20:10 UTC

    Ok, so that just tells you that you've got a Net::FTP::A object. This is the data connection object that handles an ASCII file transfer. You shouldn't ever have to worry about that as Net::FTP handles all the interaction with this object. Exactly what error are you seeing? And what does your code look like?

    --
    <http://www.dave.org.uk>

    Perl Training in the UK <http://www.iterative-software.com>

      I am trying to get a file from a ftp server. This is the error I am recieving when doing the get. I am able to log into the ftp server and cwd to the correct directory without any problems.

      Can't locate object method "new" via package "Net::FTP::A" at IO/Socket.pm line 162.

        I went to Super Search and put "new Net::FTP::A" (without the quotes) into the "Words in Text:" box, clicked Submit, and had some reasonable answers in seconds. (:

                - tye (but my friends call me "Tye")