[23180] in Perl-Users-Digest
Perl-Users Digest, Issue: 5401 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Aug 21 00:06:14 2003
Date: Wed, 20 Aug 2003 21:05:10 -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 Wed, 20 Aug 2003 Volume: 10 Number: 5401
Today's topics:
Re: [OT] Is the perl review still active? (Randal L. Schwartz)
Re: [OT] Is the perl review still active? <REMOVEsdnCAPS@comcast.net>
Re: [OT] Is the perl review still active? (Tad McClellan)
and a big sorry to Randal <none@example.com>
Re: and Randal L. Schwartz the hacker (Randal L. Schwartz)
Re: and Randal L. Schwartz the hacker <chesucat@freeshell.org>
Re: and Randal L. Schwartz the hacker <kkeller-spammmm@wombat.san-francisco.ca.us>
Re: and Randal L. Schwartz the hacker <chesucat@freeshell.org>
Re: Automatically save a webpage as a text file <bwalton@rochester.rr.com>
Re: Automatically save a webpage as a text file (Tad McClellan)
Re: dogma ...without the personal attacks <none@nobody.com>
Re: dogma ...without the personal attacks <none@nobody.com>
Re: dogma ...without the personal attacks (Randal L. Schwartz)
Re: dogma ...without the personal attacks <none@example.com>
Re: dogma ...without the personal attacks <uri@stemsystems.com>
Re: dogma ...without the personal attacks <none@example.com>
Re: dogma ...without the personal attacks (Tad McClellan)
Re: dogma ...without the personal attacks <none@example.com>
Re: dogma....re: modules <none@example.com>
Re: Explain the method for a newbie <ben.goldberg@hotpop.com>
Re: How can I put my email address on my website withou <the_stan_brown@fastmail.fm>
Re: perl zombies <abuseonly@sgrail.org>
Re: perl zombies <none@nobody.com>
Re: perl zombies (Tad McClellan)
Re: perl zombies <none@example.com>
Re: perl zombies <none@example.com>
Re: Proper way to export structures from a module (Steve D)
retaining data in memory (anonymous@coolgroups.com)
Re: UTF16 and Win32 again, was Re: OS/2 line feed quest <abuseonly@sgrail.org>
Re: <bwalton@rochester.rr.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 21 Aug 2003 01:18:33 GMT
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: [OT] Is the perl review still active?
Message-Id: <a023fed91b62ab4bd07d507df5c2ec6b@news.teranews.com>
>>>>> "Mothra" == Mothra <mothra@nowhereatall.com> writes:
Mothra> Does anyone know if the perl review is still active? The last
Mothra> issue is Jan of this year. I was thinking of submitting an
Mothra> article and noticed it has been a while since the last pub.
Perl Review was run by "brian d foy", who is currently in Iraq serving
with the rest of the US Armed Forces.
It's probably suspended until further notice. I took over brian's TPJ
column, and have access to brian's sourceforge files for emergency
purposes.
When brian comes back into civilian life, I'll be able to give him
training assignments for Stonehenge again, just like the old days.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Wed, 20 Aug 2003 21:06:18 -0500
From: "Eric J. Roode" <REMOVEsdnCAPS@comcast.net>
Subject: Re: [OT] Is the perl review still active?
Message-Id: <Xns93DDE0E45186sdn.comcast@206.127.4.25>
-----BEGIN xxx SIGNED MESSAGE-----
Hash: SHA1
merlyn@stonehenge.com (Randal L. Schwartz) wrote in
news:a023fed91b62ab4bd07d507df5c2ec6b@news.teranews.com:
>>>>>> "Mothra" == Mothra <mothra@nowhereatall.com> writes:
>
> Mothra> Does anyone know if the perl review is still active? The last
> Mothra> issue is Jan of this year. I was thinking of submitting an
> Mothra> article and noticed it has been a while since the last pub.
>
> Perl Review was run by "brian d foy", who is currently in Iraq serving
> with the rest of the US Armed Forces.
Wow, bdf is in Iraq?? I had wondered why I hadn't seen him around here
lately. :-/
Here's to his safe return. Can't wait to begin seeing articles from him
again.
- --
Eric
$_ = reverse sort $ /. r , qw p ekca lre uJ reh
ts p , map $ _. $ " , qw e p h tona e and print
-----BEGIN xxx SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBP0QpIWPeouIeTNHoEQJyPgCdG2gRHeGKNR8huRcUCjwDVaGp20MAnRuL
8rNYt6pmuj+EuxVMm0CZP8oA
=OdVW
-----END PGP SIGNATURE-----
------------------------------
Date: Wed, 20 Aug 2003 21:47:49 -0500
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: [OT] Is the perl review still active?
Message-Id: <slrnbk8cml.8n9.tadmc@magna.augustmail.com>
Eric J. Roode <REMOVEsdnCAPS@comcast.net> wrote:
> merlyn@stonehenge.com (Randal L. Schwartz) wrote in
> news:a023fed91b62ab4bd07d507df5c2ec6b@news.teranews.com:
>>>>>>> "Mothra" == Mothra <mothra@nowhereatall.com> writes:
>>
>> Mothra> Does anyone know if the perl review is still active?
>> Perl Review was run by "brian d foy", who is currently in Iraq serving
>> with the rest of the US Armed Forces.
>
> Wow, bdf is in Iraq?? I had wondered why I hadn't seen him around here
> lately. :-/
We can neither confirm nor deny his whereabouts.
Only that he is not hereabouts. :-)
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 20 Aug 2003 22:31:24 -0700
From: hudson <none@example.com>
Subject: and a big sorry to Randal
Message-Id: <i0m8kvci23vnm6aklgebl2iv1aovmrhsqa@4ax.com>
before I read what I posted about Randal last night, I must say there
was no reason to post about you.
if you must know why I did it, it was because
A. Tad is consulting for you and Tad is a prick for posting whois info
in usenet
B. Randal was pressing so much about how you can't delete a directory
without a module, etc...so I identified Randal with this dysfucntional
dogma I see here in c.l.p.m.
That said, it was way out of line for me to post anything like that
and I am sorry for it.
hmmm...probably better if I skip reading the threads at all and just
delete them. I'm sorry about it, Randal.
------------------------------
Date: Thu, 21 Aug 2003 01:18:32 GMT
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: and Randal L. Schwartz the hacker
Message-Id: <ab81545d776194c2eca0b72f19277bbd@news.teranews.com>
>>>>> "Chesucat" == Chesucat <chesucat@freeshell.org> writes:
Chesucat> He is a felon! He can't vote and can't own a gun!
Two out of three ain't bad. Hint: I *can* vote.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Wed, 20 Aug 2003 22:35:33 -0400
From: Chesucat <chesucat@freeshell.org>
Subject: Re: and Randal L. Schwartz the hacker
Message-Id: <Pine.NEB.4.33.0308202225110.4428-100000@norge.freeshell.org>
On Thu, 21 Aug 2003, Randal L. Schwartz wrote:
> >>>>> "Chesucat" == Chesucat <chesucat@freeshell.org> writes:
>
> Chesucat> He is a felon! He can't vote and can't own a gun!
>
> Two out of three ain't bad. Hint: I *can* vote.
I never knew Oregon allowed convicted felons to vote. I thought that was
just Nevada! Well, since you *can* vote, don't forget to vote for Dean
for President! He wants to restore the rights to vote for felons who have
paid their debt to society. Well, at least you didn't try to fly to
Afghanistan to fight with the Taliban!;-) Compared that to cracking some
passwords without permission, then it wasn't so evil.
chesucat
--
chesucat@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Plumbing is one of the easier of do-it-yourself activities,
requiring only a few simple tools and a willingness to stick your arm
into a clogged toilet. In fact, you can solve many home plumbing
problems, such as annoying faucet drip, merely by turning up the
radio. But before we get into specific techniques, let's look at how
plumbing works.
A plumbing system is very much like your electrical system,
except that instead of electricity, it has water, and instead of wires,
it has pipes, and instead of radios and waffle irons, it has faucets
and toilets. So the truth is that your plumbing systems is nothing at
all like your electrical system, which is good, because electricity can
kill you.
-- Dave Barry, "The Taming of the Screw"
------------------------------
Date: Wed, 20 Aug 2003 19:52:07 -0700
From: Keith Keller <kkeller-spammmm@wombat.san-francisco.ca.us>
Subject: Re: and Randal L. Schwartz the hacker
Message-Id: <n4c1ib.4i2.ln@goaway.wombat.san-francisco.ca.us>
-----BEGIN xxx SIGNED MESSAGE-----
Hash: SHA1
In article <Pine.NEB.4.33.0308202225110.4428-100000@norge.freeshell.org>, Chesucat wrote:
> I never knew Oregon allowed convicted felons to vote. I thought that was
> just Nevada! Well, since you *can* vote, don't forget to vote for Dean
> for President! He wants to restore the rights to vote for felons who have
> paid their debt to society. Well, at least you didn't try to fly to
> Afghanistan to fight with the Taliban!;-) Compared that to cracking some
> passwords without permission, then it wasn't so evil.
Wow, you're bitter. Did he crack your password of 12345?
- --keith
- --
kkeller-mmmspam@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
-----BEGIN xxx SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj9EM9IACgkQhVcNCxZ5ID+fYACeJMuZFhZ+yFiXRW3fv1b6xzYc
3VUAoJ3Bdu/GWmG0UVmEpCarKsT+JTkI
=rRYu
-----END PGP SIGNATURE-----
------------------------------
Date: Wed, 20 Aug 2003 23:37:15 -0400
From: Chesucat <chesucat@freeshell.org>
Subject: Re: and Randal L. Schwartz the hacker
Message-Id: <Pine.NEB.4.33.0308202330260.12926-100000@norge.freeshell.org>
On Wed, 20 Aug 2003, Keith Keller wrote:
> Wow, you're bitter. Did he crack your password of 12345?
>
> - --keith
<chesucat twitches>
<chesucat breathe slowly>
No, he didn't, but passwords sucks nonetheless! A palm print or retina
scan is a lot better security than some rinky-dink alphanumeric
characters that one has to type in some stinkin' box. But, I guess I'm a
tad 'sour', so-to-speak!;-)
chesucat
--
chesucat@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Concept, n.:
Any "idea" for which an outside consultant billed you more than
$25,000.
------------------------------
Date: Thu, 21 Aug 2003 02:23:37 GMT
From: Bob Walton <bwalton@rochester.rr.com>
Subject: Re: Automatically save a webpage as a text file
Message-Id: <3F442D25.20406@rochester.rr.com>
Chris Petersen wrote:
> OS: XP Pro with IE 6.0
>
> Every morning I come in, open 2 websites, and save their content as
> TXT files, one is a TAB file the other is a CSV file.
>
> Example addresses:
> http://somesite/reports/date.tab
> http://somesite/reports/date.csv
>
> I then save them as:
> http://somesite/reports/date.tab.txt
> http://somesite/reports/date.csv.txt
>
> I would like to write a program to automate this, I was wondering
> which language would be best, and maybe get a couple of quick and
> dirty examples.
...
Assuming you want to do it in Perl since you asked here:
#!usr/bin/perl -w
use strict;
use LWP::Simple;
getstore($ARGV[0],$ARGV[1]);
Invoke as something like:
perl file.pl http://xyz.com/path/etc file_to_store_it.in
Fancy it up with checks to see if the arguments were supplied, and if
the web page was successfully retrieved and stored.
--
Bob Walton
------------------------------
Date: Wed, 20 Aug 2003 21:09:55 -0500
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: Automatically save a webpage as a text file
Message-Id: <slrnbk8afj.8l5.tadmc@magna.augustmail.com>
Chris Petersen <petersen_cp@hotmail.com> wrote:
> open 2 websites, and save their content as
> TXT files
> I would like to write a program to automate this, I was wondering
> which language would be best, and maybe get a couple of quick and
> dirty examples.
Here it is in Perl (untested):
use LWP::Simple;
getstore( 'http://somesite/reports/date.tab',
'http://somesite/reports/date.tab.txt' );
getstore( 'http://somesite/reports/date.csv',
'http://somesite/reports/date.csv.txt' );
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 20 Aug 2003 21:11:19 -0700
From: hudson <none@nobody.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <94h8kvc36hc5sjp45cc9tc737bgtj3enqc@4ax.com>
On Wed, 20 Aug 2003 23:25:51 GMT, Uri Guttman <uri@stemsystems.com>
wrote:
>so stop your act. stop posting so much useless stuff. post code, ask
>perl questions, discuss perl code and ideas, etc. that is what this
>group is for. it is not your personal playpen or amusement park.
>
>will you take that challenge? i hope you do.
thanks Uri...I think you are a decent guy. You got to lighten up a
little about calling people script kiddies even if that's how you see
it, but overall I think you really care about programming and I can
respect that.
for my part, I did go over the deep end a little when you called me a
script kiddie and when Tad (that bastard) decided to post my whois
info, so I kind of regret it.
------------------------------
Date: Wed, 20 Aug 2003 21:13:58 -0700
From: hudson <none@nobody.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <3kh8kvgksmkqt9tmjqu0e8hb4v1j331n3u@4ax.com>
On 21 Aug 2003 00:04:17 GMT, sholden@flexal.cs.usyd.edu.au (Sam
Holden) wrote:
>On Wed, 20 Aug 2003 19:12:31 -0700, hudson <none@nobody.com> wrote:
>> if you think about it uri, you started this whole mess by calling me a
>> script kiddie and unexperienced when I posted some code and questioned
>> what you said.
>
>You said you wanted to be killfiled.
>
>Could you stop posting from different fake addresses, so that the killfile
>would actually get all of your blatherings.
>
>Thanks.
Sam...I got an urge to write some dumb ass posting bot to keep
switching my email and fuck with your filters just to annoy you...will
post random blatherings 20 times a day...but I will try very hard to
resist that urge....
------------------------------
Date: Thu, 21 Aug 2003 01:18:31 GMT
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: dogma ...without the personal attacks
Message-Id: <b7a6c5a8de3ef79769293cc409526e70@news.teranews.com>
>>>>> "hudson" == hudson <none@nobody.com> writes:
[something]
Please don't use "nobody.com". That's someone else's domain. For
that, we can probably get you an AUP violation from your posting host,
and then you'd be bumped off.
Either use "example.com", because it's permitted, or use something
that's not a valid top-level domain. ".invalid" is recommended, so
something like "nobody@thisdomain.invalid" is fair.
I had to go round this with Kira as well. You can be anonymous, just
don't do it by taking over someone else's domain (current or future).
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Wed, 20 Aug 2003 21:24:06 -0700
From: hudson <none@example.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <hai8kv8mbggdmmpl12t4imr47ks2pr2g58@4ax.com>
On Thu, 21 Aug 2003 01:18:31 GMT, merlyn@stonehenge.com (Randal L.
Schwartz) wrote:
>>>>>> "hudson" == hudson <none@nobody.com> writes:
>[something]
>
>Please don't use "nobody.com". That's someone else's domain. For
>that, we can probably get you an AUP violation from your posting host,
>and then you'd be bumped off.
>
>Either use "example.com", because it's permitted, or use something
>that's not a valid top-level domain. ".invalid" is recommended, so
>something like "nobody@thisdomain.invalid" is fair.
>
>I had to go round this with Kira as well. You can be anonymous, just
>don't do it by taking over someone else's domain (current or future).
sorry...better?
------------------------------
Date: Thu, 21 Aug 2003 01:54:02 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <x73cfvvkqu.fsf@mail.sysarch.com>
>>>>> "h" == hudson <none@nobody.com> writes:
h> thanks Uri...I think you are a decent guy. You got to lighten up a
h> little about calling people script kiddies even if that's how you see
h> it, but overall I think you really care about programming and I can
h> respect that.
no, i call them as i see them. the script kiddie community cares little
for code quality or module use. you fit that category to a tee.
h> for my part, I did go over the deep end a little when you called me a
h> script kiddie and when Tad (that bastard) decided to post my whois
h> info, so I kind of regret it.
tad is a friend of mine so i wouldn't go about slamming him like
that. and posting your whois info means nothing as the whois info is
publicly available anyway.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
------------------------------
Date: Wed, 20 Aug 2003 22:26:03 -0700
From: hudson <none@example.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <sol8kvgb9h4k0gm3uvs134ts28q7imijse@4ax.com>
On Thu, 21 Aug 2003 01:54:02 GMT, Uri Guttman <uri@stemsystems.com>
wrote:
>>>>>> "h" == hudson <none@nobody.com> writes:
>
> h> thanks Uri...I think you are a decent guy. You got to lighten up a
> h> little about calling people script kiddies even if that's how you see
> h> it, but overall I think you really care about programming and I can
> h> respect that.
>
>no, i call them as i see them. the script kiddie community cares little
>for code quality or module use. you fit that category to a tee.
bah...I try to make peace and I get called a script kiddie again...
you are dogmatic...that's how I see it...and if I don't use the module
you want, you are going to insult me. well, screw you...I ain't no
script kiddie...you might be a professional programmer but that
doesn't mean I can't play around with perl for myself and see where it
takes me.
> h> for my part, I did go over the deep end a little when you called me a
> h> script kiddie and when Tad (that bastard) decided to post my whois
> h> info, so I kind of regret it.
>
>tad is a friend of mine so i wouldn't go about slamming him like
>that. and posting your whois info means nothing as the whois info is
>publicly available anyway.
>
Tad is a jerk for posting that. If I was pissed at you and posted your
whois info in usenet, you would be singing a different song.
------------------------------
Date: Wed, 20 Aug 2003 21:46:09 -0500
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: dogma ...without the personal attacks
Message-Id: <slrnbk8cjh.8n9.tadmc@magna.augustmail.com>
Uri Guttman <uri@stemsystems.com> wrote:
>>>>>> "h" == hudson <none@nobody.com> writes:
> posting your whois info means nothing as the whois info is
^^^^^^^^^^
> publicly available anyway.
I posted only an address. I did not say who's address it was.
If Steve had not confirmed it in a followup, and reiterated
it in several subsequent followups, nobody would have known
that it was associated with him.
I did not give away that it was his address, he did.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 20 Aug 2003 22:56:45 -0700
From: hudson <none@example.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <akn8kvgb9bgt2sel4nb54acnckumppkp0r@4ax.com>
On Wed, 20 Aug 2003 21:46:09 -0500, tadmc@augustmail.com (Tad
McClellan) wrote:
>Uri Guttman <uri@stemsystems.com> wrote:
>>>>>>> "h" == hudson <none@nobody.com> writes:
>
>> posting your whois info means nothing as the whois info is
> ^^^^^^^^^^
>> publicly available anyway.
>
>
>I posted only an address. I did not say who's address it was.
>
>If Steve had not confirmed it in a followup, and reiterated
>it in several subsequent followups, nobody would have known
>that it was associated with him.
>
>I did not give away that it was his address, he did.
Yes...I noticed the next day that you did not post my name...so I
appreciate that.
Actually, it is a dumb mailbox in LA and I am in NY, so I don't even
know why I got so enraged...probably because I got 30 people flaming
me here.
If you want to buy a celluar phone, go to that address and I am sure
they can help you ;-)
------------------------------
Date: Wed, 20 Aug 2003 23:12:29 -0700
From: hudson <none@example.com>
Subject: Re: dogma....re: modules
Message-Id: <tgo8kv87das3qje87a47irejmif4o6a5o7@4ax.com>
On Wed, 20 Aug 2003 23:09:07 +1200, "Tintin" <me@privacy.net> wrote:
>> I mean, come on...I can delete a directory as follows:
>>
>> `rm -r $directory`
>
>And that works well under Windows, VMS, etc?
well...doesn't it boil down to:
are you doing general abstraction or solving a single problem
If you are writing up a script to be used on some *nix and you know
that's all its going to do...what's the problem?
If you want to write a module for millions of perl hackers and want to
think of every case, then of course you got to worry....
------------------------------
Date: Wed, 20 Aug 2003 22:00:09 -0400
From: Benjamin Goldberg <ben.goldberg@hotpop.com>
Subject: Re: Explain the method for a newbie
Message-Id: <3F4427A9.C61C4D6D@hotpop.com>
Naren wrote:
>
> Hello Grp,
> I dont know anything of perl.
>
> perl -wle 'print "Prime" if (1 x shift) !~ /^1?$|^(11+?)\1+$/'
>
> This code prints prime if the input is prime
>
> I dont know what is happening
>
> Can anyone kindly give me the C implementation of the same or the algo
> followed
Just for fun, here's some (untested) C code which follows the same
algorithm.
int main(int argc, char *argv[]) {
int len = atoi(*++argv);
char *ones = malloc(len+1);
memset(ones, '1', shift);
ones[len] = '\0';
if( strcmp(ones, "1") && strcmp(ones, "") ) {
char * substr_start = ones;
char * substr_end = ones+1;
for( ; substr_end < &ones[len]; ++substr_end ) {
char * match_start = substr_end;
do {
if( strncmp( match_start, substr_start, len ) )
goto END_OUTER;
match_start += substr_end - substr_start;
} while( match_start < &ones[len] );
if( match_start == &ones[len] ) return 0;
END_OUTER:
}
printf("Prime");
}
return 0;
}
Isn't this fun? :)
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "$@[$a%6
]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}
------------------------------
Date: Wed, 20 Aug 2003 23:03:23 -0400
From: Stan Brown <the_stan_brown@fastmail.fm>
Subject: Re: How can I put my email address on my website without attracting Spam?
Message-Id: <MPG.19ae00832f50d72b98b1ca@news.odyssey.net>
In article <Pine.LNX.4.53.0308202311070.25055@lxplus095.cern.ch> in
comp.infosystems.www.authoring.html, Alan J. Flavell
<flavell@mail.cern.ch> wrote:
>But I must say, email with a header proclaiming it to be virus-clean
>is about as convincing as UBE stating "this is not spam", or a
>corroded spear dug up with a label stating 'this is a genuine bronze
>age relic'. (Like Perl4, eh?).
Don't forget the idiots who post Usenet articles with "outgoing
email certified virus free" in their sig lines.
The first time I saw that I thought it was meant to be a joke, it's
so obviously absurd.
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
------------------------------
Date: Thu, 21 Aug 2003 01:11:09 GMT
From: derek / nul <abuseonly@sgrail.org>
Subject: Re: perl zombies
Message-Id: <n078kv8gtejmgbdgonpfsgs3lmi3qeoi1d@4ax.com>
On Wed, 20 Aug 2003 21:02:54 -0700, hudson <none@nobody.com> wrote:
>On Thu, 21 Aug 2003 00:30:53 +0000 (UTC), Vlad Tepes
><minceme@start.no> wrote:
>
>>It looks like you need to check your own spelling, grammar and
>>punctuation...
>
>well...I know...but his was really bad
Can we get back to perl?
------------------------------
Date: Wed, 20 Aug 2003 21:17:55 -0700
From: hudson <none@nobody.com>
Subject: Re: perl zombies
Message-Id: <quh8kvkn9ln2e3jboiklrvukfiui9g6c2s@4ax.com>
On Thu, 21 Aug 2003 01:11:09 GMT, derek / nul <abuseonly@sgrail.org>
wrote:
>Can we get back to perl?
didn't you notice? this is perl at its finest ;-)
------------------------------
Date: Wed, 20 Aug 2003 21:25:33 -0500
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: perl zombies
Message-Id: <slrnbk8bct.8l5.tadmc@magna.augustmail.com>
hudson <scripts_you_know_the_drill_@hudsonscripting.com> wrote:
[ some unattributed person said: ]
>>Hudson like ansers don't come from knowligly posting incorrect
>>infomation, Hudson's answers come from ignorence. So its inaccurate
>>to class him as a troll.
>
> christ, man...your spelling and english are poor or you are in the
> sixth grade...how's that for pointing out ignorance?
Did you read his .signature?
Please excuse my spelling as I suffer from agraphia. See
http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
Making fun of someone's medical condition does indeed show
some ignorance, so you are right there (for once).
Shameful.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 20 Aug 2003 22:35:10 -0700
From: hudson <none@example.com>
Subject: Re: perl zombies
Message-Id: <dfm8kvgmr7jj6co5p1q727k8fqde3i5jog@4ax.com>
On Wed, 20 Aug 2003 21:25:33 -0500, tadmc@augustmail.com (Tad
McClellan) wrote:
>Did you read his .signature?
ahhh...no I didn't...that explains it ;-)
------------------------------
Date: Wed, 20 Aug 2003 22:36:43 -0700
From: hudson <none@example.com>
Subject: Re: perl zombies
Message-Id: <ihm8kv86nmot5l3j3725jnfbrs0rrg0be6@4ax.com>
On Wed, 20 Aug 2003 21:25:33 -0500, tadmc@augustmail.com (Tad
McClellan) wrote:
>Making fun of someone's medical condition does indeed show
>some ignorance, so you are right there (for once).
are you referring to my medical condition? hmmmmmmmm....
OK Tad, I spread enough bad karma around here for awhile, so let's
skip it....
------------------------------
Date: 20 Aug 2003 19:11:14 -0700
From: google.deller@smsail.com (Steve D)
Subject: Re: Proper way to export structures from a module
Message-Id: <e41b2b3b.0308201811.6b697da8@posting.google.com>
Steven Kuo <skuo@mtwhitney.nsc.com> wrote in message news:<Pine.GSO.4.21.0308201226460.20626-100000@mtwhitney.nsc.com>...
> You may want to consider using an object-oriented approach. It
> really depends on how complex your data structure is. For example:
Steve K,
Thanks for the suggestion.
I had considered an OO approach. However, the complexity of the
structures and the number of transformations I wanted to be able to do
precluded me from finding an appropriate abstraction. The
combinatorics are a killer. It seems to be easiest to just expose the
structures to the appropriate objects.
I just wanted to know if the methods I used were appropriate, or
whether there might be a better (safer, simpler, clearer) way to
express the code.
Regards,
Steve D
------------------------------
Date: 20 Aug 2003 20:29:02 -0700
From: anonymous@coolgroups.com (anonymous@coolgroups.com)
Subject: retaining data in memory
Message-Id: <446d36a3.0308201929.232f798@posting.google.com>
does anyone know how i might write a perl program to store data in
memory so that another perl program can access it at a later time?
basically, i want to write a script that takes an encoded image and
stores the decoded version in memory. then, sometime later, another
program will be called to retrieve the decoded version from memory.
------------------------------
Date: Thu, 21 Aug 2003 01:08:25 GMT
From: derek / nul <abuseonly@sgrail.org>
Subject: Re: UTF16 and Win32 again, was Re: OS/2 line feed question
Message-Id: <gd68kvk5iegkvhpld890rf9ek071dd5a38@4ax.com>
On Thu, 21 Aug 2003 01:58:15 +0200, "Alan J. Flavell" <flavell@mail.cern.ch>
wrote:
>I found today that I could read the utf16LE files into Perl's native
>Unicode text format by means of the following bizarre incantation:
>
>open IN, '<:encoding(utf16le):crlf:utf8', $infile or
> die "unable to open $infile: $!";
Now that's ugly and I don't want to go there.
>I think I vaguely understand why it appears to work, but I refuse to
>believe this is what we're intended to do. Furthermore it seems to be
>irreversible: nothing I've managed to do has produced correct newlines
>on output. (I keep getting nonsense in the output file such as (hex)
>000d 0a0d 0d00 0d00 000a - and variations of that kind - for what were
>supposed to be just a pair of newlines, 000d 000a 000d 000a).
I am getting better results ?? going straight from utf16 to text and back
again!!
>I've had a read around the subject and so far the impression I get is
>that this maybe isn't mature on Win32 yet. So your original plan to
>handle the external files in binmode and apply encoding layers by hand
>separately seems to be a good plan, as far as I can see. At any rate
>you'll have seen the studious lack of response we've got here.
It shows that not too many people on win32 are playing with $bills file formats.
>Next
>port of call would be the archive of the perl unicode mailing list,
>and the only hit I got from win32 and newline was
>http://www.mail-archive.com/perl-unicode@perl.org/msg00734.html
>
>But the handling of unicode data characters is fine. It's only the
>newlines that got me baffled. (And yes, I *did* set the wide system
>calls flag).
That was a very good article about unicode problems.
Thanks to Simon, Tad, Tassilo and Dave
and Alan, many thanks for your time and effort.
Derek
ps I will give python a go as it appears to have a module for utf16le.
ps here we go again!!
------------------------------
Date: Sat, 19 Jul 2003 01:59:56 GMT
From: Bob Walton <bwalton@rochester.rr.com>
Subject: Re:
Message-Id: <3F18A600.3040306@rochester.rr.com>
Ron wrote:
> Tried this code get a server 500 error.
>
> Anyone know what's wrong with it?
>
> if $DayName eq "Select a Day" or $RouteName eq "Select A Route") {
(---^
> dienice("Please use the back button on your browser to fill out the Day
> & Route fields.");
> }
...
> Ron
...
--
Bob Walton
------------------------------
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.
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 5401
***************************************