Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP error when PL is compiled to EXE

Status
Not open for further replies.

theom

Programmer
Feb 22, 2001
28
NL
Hi,
I have got a perl script which creates a file and ftp's it to an intranet site. I made an executable from it with PerlApp (from the Perl Developer's Kit).
The perl script itself works fine, but the executable fails with the error
Can't locate object method "new" via package "Net::FTP::A" at IO/Socket.pm line 162.

Any idea?
 
Have you installed the Net::FTP bundle? Under a windows installation you should find the package under C:\Perl\site\lib\Net\FTP\A.pm.

Barbie Leader of Birmingham Perl Mongers
 
Yes, file C:\Perl\site\lib\Net\FTP\A.pm does exist. The script works fine (also the FTP) when I execute it via
perl program.pl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top