For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > April 2004 > Socket version 1.3









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Socket version 1.3
Sean Berry

2004-04-29, 6:47 am

What do I do to fix this.

Socket version 1.3 required--this is only version at Socket.pm line 12.
BEGIN failed--compilation aborted at Socket.pm line 12.

I checked out line 12 in Socket.pm:
use Socket 1.3;

Where do I upgrade this from?


Sherm Pendley

2004-04-29, 6:47 am

Sean Berry wrote:

> Where do I upgrade this from?


Socket is a core module - that is, it's a standard part of Perl. The current
5.8.4 release of Perl comes with Socket 1.77. The oldest Perl I have right
now is 5.6.0, which is over four years old. It comes with Socket 1.72. On
CPAN I see a Socket-1.5.tar.gz that's dated June '96.

What Perl version to you have? What does 'perl -v' say?

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Sean Berry

2004-04-29, 6:47 am

# perl -v

This is perl, version 5.005_03 built for i386-freebsd



"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:d5mdnYn4ybZAPA3d4p2dnA@adelphia.com...
> Sean Berry wrote:
>
>
> Socket is a core module - that is, it's a standard part of Perl. The

current
> 5.8.4 release of Perl comes with Socket 1.77. The oldest Perl I have right
> now is 5.6.0, which is over four years old. It comes with Socket 1.72. On
> CPAN I see a Socket-1.5.tar.gz that's dated June '96.
>
> What Perl version to you have? What does 'perl -v' say?
>
> sherm--
>
> --
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org



Sherm Pendley

2004-04-29, 6:47 am

Sean Berry wrote:

> This is perl, version 5.005_03 built for i386-freebsd


Ouch. That's over five years old. :-(

Well, I'll assume that you have a good reason for using last century's
Perl... Maybe you're doing regression testing or something. You might try
installing the standalone Socket module from CPAN:

http://cpan.org/modules/by-module/S...cket-1.5.tar.gz

It's not the latest, but at least it's newer than 1.3. I don't see any newer
versions available separately - like I said, it's part of the Perl core
now.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Sean Berry

2004-04-29, 6:47 am

Are there any known issues to be aware of when upgrading from 5 to 5.8? 5
and 5.8 are ported on my FreeBSD.

"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:RbudneF_OoqIOA3dRVn-tA@adelphia.com...
> Sean Berry wrote:
>
>
> Ouch. That's over five years old. :-(
>
> Well, I'll assume that you have a good reason for using last century's
> Perl... Maybe you're doing regression testing or something. You might try
> installing the standalone Socket module from CPAN:
>
> http://cpan.org/modules/by-module/S...cket-1.5.tar.gz
>
> It's not the latest, but at least it's newer than 1.3. I don't see any

newer
> versions available separately - like I said, it's part of the Perl core
> now.
>
> sherm--
>
> --
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org



Sherm Pendley

2004-04-29, 11:49 am

Sean Berry wrote:

> Are there any known issues to be aware of when upgrading from 5 to 5.8? 5
> and 5.8 are ported on my FreeBSD.


I don't know about FreeBSD specifically - I've used Perl for a long time, on
a variety of other systems, but not *BSD.

You can review what's changed by looking at the perldelta* documents -
they're online at <http://perldoc.com>, so you can view them without having
to install Perl first.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Bart Lateur

2004-04-29, 7:22 pm

Sean Berry wrote:

>This is perl, version 5.005_03 built for i386-freebsd


Perl 5.005_04 was released a few months ago.

<http://use.perl.org/article.pl?sid=04/03/01/181242>

I'm not sure what upgrading would buy *you*.

--
Bart.
Bart Lateur

2004-04-29, 7:22 pm

Sean Berry wrote:

>Are there any known issues to be aware of when upgrading from 5 to 5.8? 5
>and 5.8 are ported on my FreeBSD.


Yes. Programs that rely on the old version of perl, couldbreak.

Best is to install the new version in a different location, continue to
use the old version for those programs, and develop for the newer
version.

--
Bart.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com