Operating System - Linux
1827707 Members
2822 Online
109967 Solutions
New Discussion

Re: Error when execute perl script

 
hyudhap
Occasional Advisor

Error when execute perl script

Dear Friend,

I have a problem when running perl script to ftp file to another server .. The error message is :

Can't locate object method "new" via package "Net::FTP::A" at /usr/perl5/5.00503/sun4-solaris/IO/Socket.pm line 253.

Please help..

regards,
Henri
4 REPLIES 4
RAC_1
Honored Contributor

Re: Error when execute perl script

Looks like the module that you are using is having a problem. Has it been correctly installed??
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: Error when execute perl script

Shalom,

You expect a sun module to work on HP-UX?

I think you need to get the HP-UX version of net:FTP

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
hyudhap
Occasional Advisor

Re: Error when execute perl script

Hi..

My management server using Sun Solaris 8.
A. Clay Stephenson
Acclaimed Contributor

Re: Error when execute perl script

Just as a guess, I would say that you are running a very old Perl release. You need to upgrade to at least 5.6 and 5.8.x would be better still.
If it ain't broke, I can fix that.