[24295] in Perl-Users-Digest
Perl-Users Digest, Issue: 6486 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Apr 29 09:05:48 2004
Date: Thu, 29 Apr 2004 06:05:07 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 29 Apr 2004 Volume: 10 Number: 6486
Today's topics:
Count how many times find and replaced happened <bill@hotmail.com>
Re: Help! maintaining/upgrading Perl on Windows <webmaster @ infusedlight . net>
Re: Help! maintaining/upgrading Perl on Windows <spamtrap@dot-app.org>
Re: Help! maintaining/upgrading Perl on Windows <kalinaubears@iinet.net.au>
Re: Newbie ... Net::SMTP module... where is it? <sean_berry@cox.net>
Re: Newbie ... Net::SMTP module... where is it? <sean_berry@cox.net>
Re: Newbie ... Net::SMTP module... where is it? <spamtrap@dot-app.org>
Re: Newbie ... Net::SMTP module... where is it? <spamtrap@dot-app.org>
Re: Newbie ... Net::SMTP module... where is it? <Joe.Smith@inwap.com>
Re: Newbie ... Net::SMTP module... where is it? <noreply@gunnar.cc>
Re: Newbie ... Net::SMTP module... where is it? <spamtrap@dot-app.org>
Re: Perl IDE <HelgiBriem_1@hotmail.com>
Re: Perl IDE <HelgiBriem_1@hotmail.com>
Re: Perl IDE <richard@zync.co.uk>
Re: Please Recommend A Good Perl Book. (Daniel N. Andersen)
Re: Problems accessing a hash reference using each (Niall Macpherson)
Re: Problems accessing a hash reference using each (Niall Macpherson)
Re: Problems accessing a hash reference using each <bigiain@mightymedia.com.au>
Re: Regular expression for decimal value <salvafg@terra.es>
Re: Regular expression for decimal value <salvafg@terra.es>
Socket version 1.3 <sean_berry@cox.net>
Re: Socket version 1.3 <spamtrap@dot-app.org>
Re: Socket version 1.3 <sean_berry@cox.net>
Re: Socket version 1.3 <spamtrap@dot-app.org>
Re: Socket version 1.3 <sean_berry@cox.net>
Re: Socket version 1.3 <spamtrap@dot-app.org>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 29 Apr 2004 13:00:34 GMT
From: "blnukem" <bill@hotmail.com>
Subject: Count how many times find and replaced happened
Message-Id: <S%6kc.42117$Gd3.9618519@news4.srv.hcvlny.cv.net>
Hi All
Is there a way to count how many times $Line =~ s///; has happened?
foreach my $Line (@ArrayToRead) {
$Line =~ s/TextToFind/TextToReplace/i;
}
Thank You
Blnukem
------------------------------
Date: Wed, 28 Apr 2004 20:51:31 -0800
From: "Robin" <webmaster @ infusedlight . net>
Subject: Re: Help! maintaining/upgrading Perl on Windows
Message-Id: <c6q1vb$gkj$1@reader2.nmix.net>
"Loup Blanc" <cedrat50@hotmail.com> wrote in message
news:9b1ae155.0404281913.5d9622a@posting.google.com...
> Hi!
> althought Perl is nice to use, the installation and maintenance is
> awkward when it comes to MS-Windows.
> Once it was easy to install/upgrade the modules using ppm but now
> it's easier to reinstall the whole bundle than installing a simple
> module.
>
> Put it simply:
>
> if you use & upgrade your Perl on Windows effectively give me your
> recipe: compiler version, tools, etc.
>
> I would like to install directly using the CPAN rather than deal with
> the ppm stuff.
>
> Thanks in advance
>
> for reference, I use:
> - Win2K
> - Summary of my perl5 (revision 5 version 8 subversion 0)
just run "cpan" from your command prompt.
-Robin
------------------------------
Date: Thu, 29 Apr 2004 01:26:45 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Help! maintaining/upgrading Perl on Windows
Message-Id: <aN2dnVO9BcSLDw3d4p2dnA@adelphia.com>
Robin wrote:
> "Loup Blanc" <cedrat50@hotmail.com> wrote in message
> news:9b1ae155.0404281913.5d9622a@posting.google.com...
>>
>> if you use & upgrade your Perl on Windows effectively give me your
>> recipe: compiler version, tools, etc.
>>
>> I would like to install directly using the CPAN rather than deal with
>> the ppm stuff.
>>
>
> just run "cpan" from your command prompt.
Robin, what part of "stop it" are you too stupid to understand?
He knows about CPAN. He wants to use CPAN. He asked what compiler and tools
he needs in order to use it. Your "advice" is nonsensical and useless.
If you want to install modules under ActiveState's Perl, you'll need to use
the same compiler they use - MSVC++ and 'nmake'.
There was a fairly long discussion about building Perl & its modules with
the recently-released free compiler from MS. It's archived at Google:
http://tinyurl.com/3en5o
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Thu, 29 Apr 2004 18:06:42 +1000
From: Sisyphus <kalinaubears@iinet.net.au>
Subject: Re: Help! maintaining/upgrading Perl on Windows
Message-Id: <4090b8c1$0$16576$5a62ac22@freenews.iinet.net.au>
Loup Blanc wrote:
> Hi!
> althought Perl is nice to use, the installation and maintenance is
> awkward when it comes to MS-Windows.
> Once it was easy to install/upgrade the modules using ppm but now
> it's easier to reinstall the whole bundle than installing a simple
> module.
>
> Put it simply:
>
> if you use & upgrade your Perl on Windows effectively give me your
> recipe: compiler version, tools, etc.
>
I've used MSVC++ 6, MSVC++ 7 (Visual Studio .NET), and MinGW (gcc) with
dmake.
As regards command line compilers for building perl imho the M$
compilers have a (slight) edge. However, my preference lies with MinGW
because:
1) it's open source;
2) it's not a Microsoft product;
3) it's free.
The third point loses some weight now that M$ have released a free
command line compiler.
One drawback with MinGW's gcc compiler is that you won't be able to
build to some of the Win32::* modules. That's not really a problem if
you're prepared to use the AS (and other) ppm packages (which work quite
well on a MInGW-built perl).
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
------------------------------
Date: Wed, 28 Apr 2004 21:09:54 -0700
From: "Sean Berry" <sean_berry@cox.net>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <ge%jc.20021$Jy3.2345@fed1read03>
Thanks. I got to http://www.cpan.org/modules/by-module/ from another site.
I couln't find it there.
After getting it saved, I am greeted with compilation errors about other
needed modules, such as Net::Cmd.
After that I needed Config.pm ... IO::Socket... etc.
Is there a way to get all of the modules?
Is there a much easier way to send email with an attachment then using
Net::SMTP?
Thanks.
"Sean Berry" <sean_berry@cox.net> wrote in message
news:nF_jc.19663$Jy3.1405@fed1read03...
> I looked on CPAN site but cannot find the Net::SMTP module.
>
> I can find lots of others, like Net::SMTP::Server...
>
> Any help is appreacitated for this newbie.
>
>
------------------------------
Date: Wed, 28 Apr 2004 21:19:58 -0700
From: "Sean Berry" <sean_berry@cox.net>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <In%jc.20118$Jy3.18114@fed1read03>
"Sean Berry" <sean_berry@cox.net> wrote in message
news:ge%jc.20021$Jy3.2345@fed1read03...
> Thanks. I got to http://www.cpan.org/modules/by-module/ from another
site.
> I couln't find it there.
>
> After getting it saved, I am greeted with compilation errors about other
> needed modules, such as Net::Cmd.
>
> After that I needed Config.pm ... IO::Socket... etc.
>
> Is there a way to get all of the modules?
>
> Is there a much easier way to send email with an attachment then using
> Net::SMTP?
I meant, "..email with an attachment then using MIME::Lite?"
>
> Thanks.
> "Sean Berry" <sean_berry@cox.net> wrote in message
> news:nF_jc.19663$Jy3.1405@fed1read03...
> > I looked on CPAN site but cannot find the Net::SMTP module.
> >
> > I can find lots of others, like Net::SMTP::Server...
> >
> > Any help is appreacitated for this newbie.
> >
> >
>
>
------------------------------
Date: Thu, 29 Apr 2004 00:28:37 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <BvWdneR39_PqGQ3dRVn-tA@adelphia.com>
Robin wrote:
> maybe you've got the wrong cpan site?
Robin, stop it. Just...stop.
There are no "wrong" CPAN sites. They're mirrors, they're all identical. It
takes a bit of time for a new module to propogate its way to all the mirror
sites, true - but Net::SMTP is far from new. It's on all of them.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Thu, 29 Apr 2004 00:39:04 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <VJidnUl8S493Gw3d4p2dnA@adelphia.com>
Sean Berry wrote:
>> Is there a way to get all of the modules?
Have a look at CPAN.pm. It mostly automates the process of finding
prerequisites, downloading and installing them.
perldoc CPAN.pm
The .pm extension is necessary in this case, even though it's usually not -
without it you'll get a brief description of the 'cpan' command-line tool,
rather than the more thorough description of the CPAN.pm module and shell.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Thu, 29 Apr 2004 07:58:55 GMT
From: Joe Smith <Joe.Smith@inwap.com>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <3B2kc.43620$YP5.3226068@attbi_s02>
Sherm Pendley wrote:
> Robin wrote:
>>maybe you've got the wrong cpan site?
>
> Robin, stop it. Just...stop.
>
> There are no "wrong" CPAN sites. They're mirrors, they're all identical.
Actually, Robin is correct this time.
(But he loses points for not specifying the correct one.)
http://www.cpan.org/modules/by-module/ is not the place to go searching.
http://search.cpan.org/ is the correct place to start a module search.
-Joe
------------------------------
Date: Thu, 29 Apr 2004 11:32:57 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <c6qicp$elu1r$1@ID-184292.news.uni-berlin.de>
Sean Berry wrote:
>>
>> Is there a much easier way to send email with an attachment then
>> using Net::SMTP?
>
> I meant, "..email with an attachment then using MIME::Lite?"
I like the Mail::Sender module, and it has no module dependencies but
standard modules. Even if I only uses it for plain text messages, its
explicit purpose is to handle attachments.
But whichever you choose, you'd better learn how to install CPAN
modules. As Sherm said, CPAN.pm handles module dependencies quite nicely.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Thu, 29 Apr 2004 06:32:07 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Newbie ... Net::SMTP module... where is it?
Message-Id: <g_qdnX0fjvE0RA3dRVn-uw@adelphia.com>
Joe Smith wrote:
> Actually, Robin is correct this time.
No he isn't. You're giving him *far* too much credit.
Robin's like a child who wants to imitate the "big kids," but doesn't know
enough to get it right. He tells people to RTFM when he himself is still
reluctant to take that exact advice. He tries to cop a snide attitude and
pretend that he's tired of seeing the FAQs asked again, when in fact he's
often the one asking them.
> http://www.cpan.org/modules/by-module/ is not the place to go searching.
Not so - it's trivially simple to find a module there, provided that you
know its name, which the OP did. You want Net::SMTP? No problem, just go to
the Net/ directory, and there it is.
Even Robin could do it.
> http://search.cpan.org/ is the correct place to start a module search.
That's *a* useful place to search, if you don't know the name of the module
you want, and need to do a full-text search for keywords.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Thu, 29 Apr 2004 11:03:46 +0000
From: Helgi Briem <HelgiBriem_1@hotmail.com>
Subject: Re: Perl IDE
Message-Id: <82o190tbs0f6cbmf2ijd76ioh3scr4jkq4@4ax.com>
On Wed, 28 Apr 2004 10:05:15 -0800, "Robin" <robin @ infusedlight.net>
wrote:
>> Perlbuilder from http://solutionsoft.com/perl.htm
>> is very good. I have used it for years. I have not
>> tried any of the others.
>
>what version of perl are you running and from what source did
>you get it from, and what version of perl builder?
>
I have used Perlbuilder with all versions of Perl from 5.005. I am
currently running Perl 5.83, Activeperl build 809.
>That program crashed my perl build.
I find that very hard to believe. Perlbuilder doesn't
touch your Perl installation at all.
--
Helgi Briem hbriem AT simnet DOT is
Never worry about anything that you see on the news.
To get on the news it must be sufficiently rare
that your chances of being involved are negligible!
------------------------------
Date: Thu, 29 Apr 2004 11:04:50 +0000
From: Helgi Briem <HelgiBriem_1@hotmail.com>
Subject: Re: Perl IDE
Message-Id: <c9o190pifmpidutdj71msqmdjt89dt9i0s@4ax.com>
On Wed, 28 Apr 2004 15:46:12 -0800, "Robin" <robin @ infusedlight.net>
wrote:
>> > or Cooperative Linux.
>>
>> Ain't soup yet.
>
>nope. It kinda sucks. Richard, i wouldn't recommend Co-Linux btw.
I don't think I would take your recommendations for or
against anything, Robin. Sorry about that.
--
Helgi Briem hbriem AT simnet DOT is
Never worry about anything that you see on the news.
To get on the news it must be sufficiently rare
that your chances of being involved are negligible!
------------------------------
Date: Thu, 29 Apr 2004 12:37:44 +0100
From: "Richard Gration" <richard@zync.co.uk>
Subject: Re: Perl IDE
Message-Id: <c6qpe1$1pb$1@news.freedom2surf.net>
In article <c6pgg8$p76$1@news.f.de.plusline.net>, "Robin" <robin @
infusedlight.net> wrote:
> "Sherm Pendley" <spamtrap@dot-app.org> wrote in message
> news:7pudnYge38-ynw3dRVn-uw@adelphia.com...
>> Robin wrote:
>> > or Cooperative Linux.
>>
>> Ain't soup yet.
> nope. It kinda sucks. Richard, i wouldn't recommend Co-Linux btw.
> -Robin
>
Well, never send a boy to do a man's job. I use Linux for development and
Winders for playing games.
------------------------------
Date: 29 Apr 2004 03:01:02 -0700
From: daniel_n_andersen@yahoo.com (Daniel N. Andersen)
Subject: Re: Please Recommend A Good Perl Book.
Message-Id: <2e12fbc.0404290201.3e68f45@posting.google.com>
merlyn@stonehenge.com (Randal L. Schwartz) wrote in message news:<bbe1c7290fe1e6c8f8987ace1da9093b@news.teranews.com>...
> >>>>> "Daniel" == Daniel N Andersen <daniel_n_andersen@yahoo.com> writes:
>
> Daniel> If I were you, I would check out http://XXXXXXXXXXXXX/ . This is
> Daniel> O'Reilly's Perl CD Bookshelf v1.0 from 1999, which contain the
> Daniel> following 6 books in HTML format:
>
> Daniel> Perl in a Nutshell
> Daniel> Learning Perl
> Daniel> Learning Perl on Win32 Systems
> Daniel> Programming Perl
> Daniel> Advanced Perl Programming
> Daniel> Perl Cookbook
>
> Thank you. This site has been reported to the authorities
> (infringement@ora.com) for pirating my works and the works of my other
> co-author friends.
>
> Thank you for taking money out of my pocket. Feel better now?
> Next time I throw a party and give away T-shirts and free drinks,
> *you* are not invited. Please stay away.
>
> THINK PEOPLE. THINK. THESE CDs CANNOT BE ON THE WEB. THIS IS A
> COPYRIGHT VIOLATION.
>
> {sigh}
>
> print "Just another Perl [book] hacker,";
If it wasn't for that site, I wouldn't own all the new editions of
those books (except 'Learning Perl on Win32 Systems' which I haven't
read) today. I know it's a bad excuse for posting links to copyrighted
material on the internet, but sometimes I think with my ass. For a
moment there I forgot that normal people don't go out and buy a CD,
after they've found an amazing mp3 on the internet, and I don't expect
you to believe that I'm any diffrent either.
Daniel N. Andersen.
------------------------------
Date: 29 Apr 2004 02:08:47 -0700
From: niall.macpherson@moneyline.com (Niall Macpherson)
Subject: Re: Problems accessing a hash reference using each
Message-Id: <a3376e0d.0404290108.34c6b0d7@posting.google.com>
Mark Clements <mark.clements@kcl.ac.uk> wrote in message news:<408f8d28$1@news.kcl.ac.uk>...
> The proglet doesn't compile, for a start: you're missing a close-brace
> and a semi-colon. One of the problems here (apart from not using strict
> and warnings, which would have given you some hint as to what was
> wrong), > Mark
Sorry about that - the complete prog is about 600 - 700 lines so I
just cut and pasted the function removes some irrelevant bits from it
and screwed up the cut and paste slightly. Should have put it in a
separate script and tried to run int beffer sending - sorry :(
I was using strict and warnings and I actually got
Global symbol "%value" requires explicit package name at ....
for the line
print("\nGot $value{\"date\"}");
which wouldn't compile.
Anyway thanks for your help - think I am on the right track now
------------------------------
Date: 29 Apr 2004 02:16:20 -0700
From: niall.macpherson@moneyline.com (Niall Macpherson)
Subject: Re: Problems accessing a hash reference using each
Message-Id: <a3376e0d.0404290116.7adbe060@posting.google.com>
Tad McClellan <tadmc@augustmail.com> wrote in message news:<slrnc8v9ks.r6.tadmc@magna.augustmail.com>...
> Niall Macpherson <niall.macpherson@moneyline.com> wrote:
>
> > I'm a bit of a newbie to using references and am having a problem
> > dereferencing a hash
>
>
> Have you read the tutorial about references yet?
>
> perldoc perlreftut
>
Thanks - that sounds like a very good idea
I'm afraid I've been tending to use the O'Reilly perl CD Bookshelf
rather than perldoc . The main problem I have with perldoc is figuring
out what the names of the modules are. How would I have known that
the page for perlreftut existed ?
Is there somewhere I can get a list of the available pages / modules
from perldoc ?
perldoc perldoc doesn't seem to give me the answer.
Thanks
------------------------------
Date: Thu, 29 Apr 2004 19:19:55 +1000
From: Iain Chalmers <bigiain@mightymedia.com.au>
Subject: Re: Problems accessing a hash reference using each
Message-Id: <bigiain-26E83F.19195529042004@news.fu-berlin.de>
In article <a3376e0d.0404290116.7adbe060@posting.google.com>,
niall.macpherson@moneyline.com (Niall Macpherson) wrote:
> Tad McClellan <tadmc@augustmail.com> wrote in message
> news:<slrnc8v9ks.r6.tadmc@magna.augustmail.com>...
> > Niall Macpherson <niall.macpherson@moneyline.com> wrote:
> >
> > > I'm a bit of a newbie to using references and am having a problem
> > > dereferencing a hash
> >
> >
> > Have you read the tutorial about references yet?
> >
> > perldoc perlreftut
> >
> Thanks - that sounds like a very good idea
>
> I'm afraid I've been tending to use the O'Reilly perl CD Bookshelf
> rather than perldoc . The main problem I have with perldoc is figuring
> out what the names of the modules are. How would I have known that
> the page for perlreftut existed ?
>
> Is there somewhere I can get a list of the available pages / modules
> from perldoc ?
>
> perldoc perldoc doesn't seem to give me the answer.
You were _so_ close!
try perldoc perl
big
--
"A magazine here has a bunch of bonobo's in the zoo and a bunch of
market analysts from major banks picking stocks weekly. So far the
bonobo's are turning in a profit and the analysts lose money. The
banks haven't made the logical step yet." - Lieven Marchand in SDM
------------------------------
Date: Thu, 29 Apr 2004 10:38:17 GMT
From: =?ISO-8859-1?Q?Salvador_Fandi=F1o?= <salvafg@terra.es>
Subject: Re: Regular expression for decimal value
Message-Id: <tW4kc.27196$A6.117675@telenews.teleline.es>
Markus Joschko wrote:
> Hi all,
> I'm not really a pro concerning regular expressions and in the moment I
> desperatly try to get a decimal check working.
>
> There is a kind of a textinputfield which should contain a decimal number.
> The only restriction is the length of the overall number (excluding
> period):
>
> E.g. length=5
>
> 888888 invalid
> 88888 is valid
> 88.888 is valid
> 888.88 is valid
> 8.8888 is valid
> 8888.8 is valid
>
> And that is the problem for me.
>
> (\\d*(\\.\\d*){0,1}) -> no length check
>
> (\\d*(\\.\\d*){0,1}){0,5}? -> checks how often the group occurs.
>
> But how can I restrict the overall count of digits ( it does not really
> matter if the period is excluded but would be fine)?
>
> Greetings,
> Markus
>
this seems to work:
/^(?!.*\..*\.)(?:\d{5}|(?=.*\.)[\d\.]{6})$/
- Salva
------------------------------
Date: Thu, 29 Apr 2004 10:55:16 GMT
From: =?ISO-8859-1?Q?Salvador_Fandi=F1o?= <salvafg@terra.es>
Subject: Re: Regular expression for decimal value
Message-Id: <oa5kc.27457$A6.119156@telenews.teleline.es>
I wrote:
> this seems to work:
>
> /^(?!.*\..*\.)(?:\d{5}|(?=.*\.)[\d\.]{6})$/
or even better
/^(?:\d{5}|(?=.{6}\Z)\d*\.\d*)$/
and if you don't want to accept .88888
/^(?:\d{5}|(?=.{6}\Z)\d+\.\d*)$/
- Salva
------------------------------
Date: Wed, 28 Apr 2004 23:16:06 -0700
From: "Sean Berry" <sean_berry@cox.net>
Subject: Socket version 1.3
Message-Id: <y41kc.21241$Jy3.3607@fed1read03>
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?
------------------------------
Date: Thu, 29 Apr 2004 02:34:00 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Socket version 1.3
Message-Id: <d5mdnYn4ybZAPA3d4p2dnA@adelphia.com>
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
------------------------------
Date: Wed, 28 Apr 2004 23:35:51 -0700
From: "Sean Berry" <sean_berry@cox.net>
Subject: Re: Socket version 1.3
Message-Id: <4n1kc.21429$Jy3.14290@fed1read03>
# 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:
>
> > 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
------------------------------
Date: Thu, 29 Apr 2004 02:47:44 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Socket version 1.3
Message-Id: <RbudneF_OoqIOA3dRVn-tA@adelphia.com>
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/Socket/Socket-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
------------------------------
Date: Thu, 29 Apr 2004 00:15:25 -0700
From: "Sean Berry" <sean_berry@cox.net>
Subject: Re: Socket version 1.3
Message-Id: <eY1kc.21804$Jy3.3751@fed1read03>
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:
>
> > 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/Socket/Socket-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
------------------------------
Date: Thu, 29 Apr 2004 06:52:50 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Socket version 1.3
Message-Id: <tPOdnS4d1qgZQw3dRVn-iQ@adelphia.com>
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
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 6486
***************************************