[31443] in Perl-Users-Digest
Perl-Users Digest, Issue: 2695 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 26 14:09:41 2009
Date: Thu, 26 Nov 2009 11:09:09 -0800 (PST)
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, 26 Nov 2009 Volume: 11 Number: 2695
Today's topics:
Avoiding Perl warning "uninitialized value" <n@solenttechnology.co.uk>
Re: Avoiding Perl warning "uninitialized value" (Alan Curry)
Re: Avoiding Perl warning "uninitialized value" <n@solenttechnology.co.uk>
Re: Avoiding Perl warning "uninitialized value" <justin.0911@purestblue.com>
Re: Avoiding Perl warning "uninitialized value" <tadmc@seesig.invalid>
Re: Good Golly Miss Molly Perl. Been so long. <ac.russell@live.com>
Re: Good Golly Miss Molly Perl. Been so long. (Seymour J.)
Re: Good Golly Miss Molly Perl. Been so long. <uri@StemSystems.com>
Re: Good Golly Miss Molly Perl. Been so long. <jurgenex@hotmail.com>
Re: perl hash: low-level implementation details? <nospam-abuse@ilyaz.org>
Re: perl hash: low-level implementation details? <nospam-abuse@ilyaz.org>
Re: Perl Logo <Peter@PSDT.com>
Re: Quick CGI question (specific to the CGI package) <spamtrap@shermpendley.com>
Re: Quick CGI question (specific to the CGI package) <r.ted.byers@gmail.com>
Re: Quick CGI question (specific to the CGI package) <paduille.4061.mumia.w+nospam@earthlink.net>
Re: Quick CGI question (specific to the CGI package) <r.ted.byers@gmail.com>
Re: Quick CGI question (specific to the CGI package) <spamtrap@shermpendley.com>
Re: Quick CGI question (specific to the CGI package) <r.ted.byers@gmail.com>
Re: Quick CGI question (specific to the CGI package) <OJZGSRPBZVCX@spammotel.com>
Re: Why is "use 5.010" necessary (Seymour J.)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 26 Nov 2009 01:18:57 -0800 (PST)
From: neilsolent <n@solenttechnology.co.uk>
Subject: Avoiding Perl warning "uninitialized value"
Message-Id: <5e70e393-3623-49ab-9ee0-cb3c17260e9b@g26g2000yqe.googlegroups.com>
Hi
I get a warning message "Use of uninitialized value $3 in hash element
at test.pl line 13." when I run the code below (using Perl 5.10). How
I can fix this in a neat way ?
Thanks for any help !
[code]
!/usr/bin/perl -w
use strict;
my %fs;
my @df;
$df[0] = "udev 125320 152 125168 1% /dev";
foreach (@df)
{
if (/\d+\s+\d+\s+(\d+)\s+(\d+)\%\s+(?!\/cdrom)/)
{
$fs{$3} = 1;
}
}
[/code]
------------------------------
Date: Thu, 26 Nov 2009 09:44:51 +0000 (UTC)
From: pacman@kosh.dhis.org (Alan Curry)
Subject: Re: Avoiding Perl warning "uninitialized value"
Message-Id: <helimj$lrt$1@aioe.org>
In article <5e70e393-3623-49ab-9ee0-cb3c17260e9b@g26g2000yqe.googlegroups.com>,
neilsolent <n@solenttechnology.co.uk> wrote:
>Hi
>
>foreach (@df)
>{
> if (/\d+\s+\d+\s+(\d+)\s+(\d+)\%\s+(?!\/cdrom)/)
> {
> $fs{$3} = 1;
> }
>}
You expected (?!\/cdrom) to act as a third set of capturing parentheses,
setting $3 to everything after the %\s+ as well as causing the match to fail
if what comes next is "/cdrom"? It doesn't. Look-aheads, like other fun
things starting with "(?", are not capturing groups. Those are non-capturing
parentheses. Add another (.*) to the end of the regexp.
--
Alan Curry
------------------------------
Date: Thu, 26 Nov 2009 01:54:18 -0800 (PST)
From: neilsolent <n@solenttechnology.co.uk>
Subject: Re: Avoiding Perl warning "uninitialized value"
Message-Id: <f7275572-c57f-42ac-8224-3a852a0743e0@e27g2000yqd.googlegroups.com>
> You expected (?!\/cdrom) to act as a third set of capturing parentheses,
> setting $3 to everything after the %\s+ as well as causing the match to fail
> if what comes next is "/cdrom"? It doesn't. Look-aheads, like other fun
> things starting with "(?", are not capturing groups. Those are non-capturing
> parentheses. Add another (.*) to the end of the regexp.
>
> --
> Alan Curry
Alan - many thanks. You were right - I did not relaise that was how it
worked..
------------------------------
Date: Thu, 26 Nov 2009 15:07:26 -0000
From: Justin C <justin.0911@purestblue.com>
Subject: Re: Avoiding Perl warning "uninitialized value"
Message-Id: <68e0.4b0e99ae.1f989@zem>
On 2009-11-26, neilsolent <n@solenttechnology.co.uk> wrote:
> Hi
>
> I get a warning message "Use of uninitialized value $3 in hash element
> at test.pl line 13." when I run the code below (using Perl 5.10). How
> I can fix this in a neat way ?
> Thanks for any help !
>
>
> [code]
> !/usr/bin/perl -w
>
> use strict;
>
> my %fs;
> my @df;
> $df[0] = "udev 125320 152 125168 1% /dev";
>
> foreach (@df)
> {
> if (/\d+\s+\d+\s+(\d+)\s+(\d+)\%\s+(?!\/cdrom)/)
I don't know why the ? is inside the () in the above regex. If you shift
it one place left, outside the () then the code does not error. Though I
don't know what difference that'll make to your regex.
Justin.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
------------------------------
Date: Thu, 26 Nov 2009 10:50:29 -0600
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: Avoiding Perl warning "uninitialized value"
Message-Id: <slrnhgtc8v.2h4.tadmc@tadbox.sbcglobal.net>
Justin C <justin.0911@purestblue.com> wrote:
> On 2009-11-26, neilsolent <n@solenttechnology.co.uk> wrote:
>> if (/\d+\s+\d+\s+(\d+)\s+(\d+)\%\s+(?!\/cdrom)/)
> I don't know why the ? is inside the () in the above regex.
Then read the "Extended Patterns" section in:
perldoc perlre
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
------------------------------
Date: Wed, 25 Nov 2009 23:23:46 -0500
From: "Adam Russell" <ac.russell@live.com>
Subject: Re: Good Golly Miss Molly Perl. Been so long.
Message-Id: <80619$4b0e02d9$477ee1b8$9044@news.eurofeeds.com>
"Ben Morrow" <ben@morrow.me.uk> wrote in message
news:b7s0u6-oef2.ln1@osiris.mauzo.dyndns.org...
>
> Quoth Adam Russell <ac.russell@live.com>:
>> No, but there is a perl port to the SymbianOS.
>> I have made some contributions to it so I can say
>> that it is currently in a working state provided you
>> configure a Symbian development environment.
>
> Really? Last time I looked at perl/S60 it was nominally functional, but
> practically useless, and I assumed that since Jarkko'd stopped working
> on it the port was dead. Are there any sane interfaces to the native S60
> APIs, like PyS60 has?
That is what I am currently working on...giving a perl
face to S60. There are two of us mainly, me and Osvaldo Villalon. We
had quite a bit of work to just getting Jarkko's work cohesive with
current sources.
We work on this as our time allows. You know the deal:
this is an all volunteer effort etc etc
Between work, grad school, home life, yeah, I get to it
when I can. :)
Anyway, I take objection to your negativity. This is the
sort of thing that pesters what should be a happy open source community.
What I wish you would have said is:
"Really? I am jealous of the S60 functionality the
python guys have. Where are you in development of this and can you give
us
a road map to where you want to go in terms of allowing a richer set
of APIs? What can interested parties do to help?"
I have answers to these questions but, sadly, you didn't
ask. Did you?
------------------------------
Date: Thu, 26 Nov 2009 10:08:43 -0500
From: Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid>
Subject: Re: Good Golly Miss Molly Perl. Been so long.
Message-Id: <4b0e99fb$2$fuzhry+tra$mr2ice@news.patriot.net>
In <878wdupl9n.fsf@quad.sysarch.com>, on 11/25/2009
at 12:27 PM, "Uri Guttman" <uri@StemSystems.com> said:
>because it sucked to begin with. learn how to code without gotos.
There's nothing wrong with goto when used properly. Like any tool, it can
be and often is misused, but it's useful in its place.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
------------------------------
Date: Thu, 26 Nov 2009 12:16:41 -0500
From: "Uri Guttman" <uri@StemSystems.com>
Subject: Re: Good Golly Miss Molly Perl. Been so long.
Message-Id: <87iqcxdx52.fsf@quad.sysarch.com>
>>>>> "S(J)M" == Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
S(J)M> In <878wdupl9n.fsf@quad.sysarch.com>, on 11/25/2009
S(J)M> at 12:27 PM, "Uri Guttman" <uri@StemSystems.com> said:
>> because it sucked to begin with. learn how to code without gotos.
S(J)M> There's nothing wrong with goto when used properly. Like any
tool, it can S(J)M> be and often is misused, but it's useful in its
place.
if you consistantly or even occasionally use goto then i won't
recommend you for a job. magic goto being the only exception, perl has
little use for goto. you can easily code around it with all the great
flow control options we have. one trick is to use more subs and return
early from them.
and the OP's code is beyond redemption. he obviously CHOSE goto and no
subs which makes him a BASIC coder.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Thu, 26 Nov 2009 10:35:02 -0800
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: Good Golly Miss Molly Perl. Been so long.
Message-Id: <rvhtg590d30u6gsracsj26vikr18ahtqt5@4ax.com>
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:
>In <878wdupl9n.fsf@quad.sysarch.com>, on 11/25/2009
> at 12:27 PM, "Uri Guttman" <uri@StemSystems.com> said:
>
>>because it sucked to begin with. learn how to code without gotos.
>
>There's nothing wrong with goto when used properly. Like any tool, it can
>be and often is misused, but it's useful in its place.
Yes, there are sometimes special cicumstances which occasionally justify
a goto. But none of the OP's calls fall into that category and actually
his resulting spaghetti code is a prime example why Edsger Dijkstra's
"Go To Statement Considered Harmful" is as valid today as it was 40
years ago.
jue
------------------------------
Date: Thu, 26 Nov 2009 03:55:28 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: perl hash: low-level implementation details?
Message-Id: <slrnhgrv1g.1mf.nospam-abuse@powdermilk.math.berkeley.edu>
On 2009-11-24, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> I suspect your Perl may be broken. The typical overhead is below 100B
> per key (on 32-bit machines) + extra malloc overhead. So 5e8 keys
> should not take more than 500M * 200B = 100GB overhead on a 64-bit
> machine.
Hmm, from other postings I see that you use hash of arrays. Then
130GB does not look excessive...
> Did you try to use "my" malloc when you configured Perl?
... Which makes *this* suggestion less appealing... On the other
hand, if your optimized version is close to the top limit of memory,
using "my" malloc may help.
Yours,
Ilya
------------------------------
Date: Thu, 26 Nov 2009 03:56:41 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: perl hash: low-level implementation details?
Message-Id: <slrnhgrv3p.1mf.nospam-abuse@powdermilk.math.berkeley.edu>
On 2009-11-25, Xho Jingleheimerschmidt <xhoster@gmail.com> wrote:
>>> I'd guess roughly it comes up to something like: 48 bytes for the key
>>> and associated structure, 40 bytes for the value-scalar (which holds an
>>> arrayref), 160 bytes for the array overhead, and 48 bytes for each
>>> scalar (usually 1) inside each array.
>>
>> ??? Where do you get these numbers?
>
> Memory of past experiments, and a little guessing.
Probably "a faulty memory of past experiments"...
>> On 32-bit machine,
>
> He isn't using a 32 bit machine.
... so multiplying by 2 gives an upper bound...
------------------------------
Date: Thu, 26 Nov 2009 13:44:41 GMT
From: Peter Scott <Peter@PSDT.com>
Subject: Re: Perl Logo
Message-Id: <dDvPm.25049$kY2.19057@newsfe01.iad>
On Wed, 25 Nov 2009 14:28:57 -0500, Uri Guttman wrote:
> the onion is copyrighted by the perl
> foundation but it is free to use in any form.
Not exactly. You may not use it in a commercial enterprise.
http://www.perlfoundation.org/perl_trademark
--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
------------------------------
Date: Wed, 25 Nov 2009 23:43:23 -0500
From: Sherm Pendley <spamtrap@shermpendley.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <m2k4xdx5ec.fsf@shermpendley.com>
Ted Byers <r.ted.byers@gmail.com> writes:
> Why would it not recognize video/mpg?
Perhaps because it's supposed to be video/mpeg. Similarly, the MIME type
for a .avi file is video/x-msvideo.
sherm--
------------------------------
Date: Thu, 26 Nov 2009 07:23:20 -0800 (PST)
From: Ted Byers <r.ted.byers@gmail.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <497279f1-a31d-495b-8e0d-e285f40ca305@x15g2000vbr.googlegroups.com>
On Nov 25, 11:43=A0pm, Sherm Pendley <spamt...@shermpendley.com> wrote:
> Ted Byers <r.ted.by...@gmail.com> writes:
> > Why would it not recognize video/mpg?
>
> Perhaps because it's supposed to be video/mpeg. Similarly, the MIME type
> for a .avi file is video/x-msvideo.
>
> sherm--
OK, so the root of my problem seems to that the video subtype is
wrong.
Changing video/mpg to video/mpeg fixes the problem for mpeg, but the
problem remains for the asf and avi files. For asf files I tried
video/asf and video/x-ms-asf, and for avi files I tried video/avi,
video/msvideo and video/x-msvideo' all to no avail. I found each of
the variants I tried on the web (such as www.webmaster-toolkit.com/mime-typ=
es.shtml
and pcs.cruz-network.net/faq.php, to list only two of those pages I
found).
NB: My line that sets content type has been changed to:
print $query->header('-content-type' =3D> "video/$format",'-content-
length' =3D> $flength);
I figured I might as well set the content length header at the same
time.
I did notice that once I changed video/mpg to video/mpeg, the client
added the mpg extension to the script name and the media player opened
immediately. With the other formats, it left the script name
unchanged. Now, if I tell it to display the content using the media
player, the content is displayed.
Any ideas on what to use for the MIME subtype for AVI and ASF files
that would be recognized by clients like firefox and MS IE?
Thanks
Ted
------------------------------
Date: Thu, 26 Nov 2009 09:18:54 -0600
From: "Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <vd2dnZ1Iqt5MAJPWnZ2dnUVZ_uCdnZ2d@earthlink.com>
On 11/25/2009 07:27 PM, Ted Byers wrote:
> On Nov 25, 6:46 pm, "Mumia W." <paduille.4061.mumia.w
> +nos...@earthlink.net> wrote:
>> Try this instead:
>>
>> print $query->header(
>> '-content-type' => 'text/html',
>> '-content-disposition' => 'attachment; filename=result.avi',
>> )
>>
>> See RFC 2616.
>>
>
> That produces the following server error:
> [Wed Nov 25 20:24:54 2009] [error] [client 127.0.0.1] Bad name after
> disposition' at C:/ApacheAndPerl/Apache2/cgi-bin/video.server.cgi line
> 45.
>
> Might there be a typo in the disposition line?
>
> Ted
>
It should work. Try this test program:
#!/usr/bin/perl
use strict;
use warnings;
use CGI qw/-no_xhtml :standard/;
my $file = 'content.avi';
print header(
'-content_type' => 'video/avi',
'-content_disposition' => 'attachment; filename=result.avi',
);
open my $fh, '<', $file or die("Failure: $!");
fpassthrough($fh);
close $fh;
sub fpassthrough {
my ($handle) = @_;
local $/ = \1000;
local $_;
while (<$handle>) {
print;
}
}
------------------------------
Date: Thu, 26 Nov 2009 08:19:05 -0800 (PST)
From: Ted Byers <r.ted.byers@gmail.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <1f7451f8-ebe9-4724-9841-1ad8abefb64d@j35g2000vbl.googlegroups.com>
On Nov 26, 10:18=A0am, "Mumia W." <paduille.4061.mumia.w
+nos...@earthlink.net> wrote:
> On 11/25/2009 07:27 PM, Ted Byers wrote:
>
>
>
> > On Nov 25, 6:46 pm, "Mumia W." <paduille.4061.mumia.w
> > +nos...@earthlink.net> wrote:
> >> Try this instead:
>
> >> print $query->header(
> >> =A0 =A0 =A0 =A0 '-content-type' =3D> 'text/html',
> >> =A0 =A0 =A0 =A0 '-content-disposition' =3D> 'attachment; filename=3Dre=
sult.avi',
> >> =A0 =A0 =A0 =A0 )
>
> >> See RFC 2616.
>
> > That produces the following server error:
> > [Wed Nov 25 20:24:54 2009] [error] [client 127.0.0.1] Bad name after
> > disposition' at C:/ApacheAndPerl/Apache2/cgi-bin/video.server.cgi line
> > 45.
>
> > Might there be a typo in the disposition line?
>
> > Ted
>
> It should work. Try this test program:
>
> #!/usr/bin/perl
> use strict;
> use warnings;
> use CGI qw/-no_xhtml :standard/;
>
> my $file =3D 'content.avi';
>
> print header(
> =A0 =A0 =A0'-content_type' =3D> 'video/avi',
> =A0 =A0 =A0'-content_disposition' =3D> 'attachment; filename=3Dresult.avi=
',
> =A0 =A0 =A0);
>
> open my $fh, '<', $file or die("Failure: $!");
> fpassthrough($fh);
> close $fh;
>
> sub fpassthrough {
> =A0 =A0 =A0my ($handle) =3D @_;
> =A0 =A0 =A0local $/ =3D \1000;
> =A0 =A0 =A0local $_;
> =A0 =A0 =A0while (<$handle>) {
> =A0 =A0 =A0 =A0 =A0print;
> =A0 =A0 =A0}
>
> }
>
>
Yup. I had to edit a bit so it would work on Windows (path to perl
and use binmode on the file handle), but that worked. So I have to
compare that with what I had yesterday to discover why mine didn't
work.
Do you know if that works for mpeg and asf files? What would you set
the content type to? And I notice you don't set content length with
this.
Thanks.
Ted
------------------------------
Date: Thu, 26 Nov 2009 11:49:46 -0500
From: Sherm Pendley <spamtrap@shermpendley.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <m28wdtgrit.fsf@shermpendley.com>
Ted Byers <r.ted.byers@gmail.com> writes:
> problem remains for the asf and avi files. For asf files I tried
> video/asf and video/x-ms-asf, and for avi files I tried video/avi,
> video/msvideo and video/x-msvideo' all to no avail.
There's no need to guess - just look at Apache's mime.types file to see
what MIME type it maps to a given filename extension. The relevant lines
from my local copy of that file are:
video/x-msvideo avi
video/x-ms-asf asf asx
sherm--
------------------------------
Date: Thu, 26 Nov 2009 09:40:35 -0800 (PST)
From: Ted Byers <r.ted.byers@gmail.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <74f92611-52de-4a22-9ae4-636a12c03458@m20g2000vbp.googlegroups.com>
On Nov 26, 11:49=A0am, Sherm Pendley <spamt...@shermpendley.com> wrote:
> Ted Byers <r.ted.by...@gmail.com> writes:
> > problem remains for the asf and avi files. =A0For asf files I tried
> > video/asf and video/x-ms-asf, and for avi files I tried video/avi,
> > video/msvideo and video/x-msvideo' all to no avail.
>
> There's no need to guess - just look at Apache's mime.types file to see
> what MIME type it maps to a given filename extension. The relevant lines
> from my local copy of that file are:
>
> =A0 =A0 video/x-msvideo =A0 =A0 =A0avi
> =A0 =A0 video/x-ms-asf =A0 =A0 =A0 =A0asf asx
>
> sherm--
OK, On mine, there is a line like your's for avi files, but there is
nothing in the mime.types file on my system for asf files. This is
puzzling since everything works well if I just redirect to an asf file
in htdocs instead of setting the content type and then writing the
content of the file to standard out in binary mode.
But that doesn't cover what is happening on the client side. Even
though the server may not send video/avi as the MIME type for an avi
file, both Firefox and MS IE recognize video/avi. I know this because
Mumia's latest example worked fine even though he set the content type
to video/avi. That give's me an idea, from what you said and what
Mumia's example does, that I will have to test after lunch.
Cheers,
Ted
------------------------------
Date: Thu, 26 Nov 2009 20:06:45 +0100
From: "Jochen Lehmeier" <OJZGSRPBZVCX@spammotel.com>
Subject: Re: Quick CGI question (specific to the CGI package)
Message-Id: <op.u30ndjirmk9oye@frodo>
On Wed, 25 Nov 2009 23:57:06 +0100, Ted Byers <r.ted.byers@gmail.com>
wrote:
> In my testing, the client browser thinks
> the video file content has the cgi script as the file name.
Of course, the URL is http://host/cgi-bin/script.pl or something like
that. The browser thinks the file is called "script.pl".
An easy way to change this is to use the URL
http://host/cgi-bin/script.pl/file.avi (or whatever file name you want to
have). Apache will know to actually call your script.pl, and not try to
access script.pl as a directory.
------------------------------
Date: Wed, 25 Nov 2009 18:26:32 -0500
From: Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid>
Subject: Re: Why is "use 5.010" necessary
Message-Id: <4b0dbd28$6$fuzhry+tra$mr2ice@news.patriot.net>
In <zaudnY1MvYkclpHWnZ2dnUVZ8gCdnZ2d@brightview.co.uk>, on 11/24/2009
at 04:36 PM, zaphod <abc@def.com> said:
>Why is it necessary to state:
>use 5.010;
>.... simply to have access to Perl 5.10's features?
So that those running an older version of Perl will get a sensible error
message.
>If I didn't want to use it's features I wouldn't have installed it in
>the first place.
K3wl; there's only one program on your machine written in Perl? Because if
there are two then there's no guaranty that you want to use the new
features of Perl 5.10 in both. If you're distributing your code to the
outside world, then it is reasonable to indicate in the code the oldest
version of Perl that you support.
>5.10 is backwards compatible in any case so it all seems a bit
>pointless.
Only for those who never share code with anybody else.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.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:
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests.
#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 V11 Issue 2695
***************************************