[24422] in Perl-Users-Digest
Perl-Users Digest, Issue: 6608 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue May 25 18:10:41 2004
Date: Tue, 25 May 2004 15:10:12 -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 Tue, 25 May 2004 Volume: 10 Number: 6608
Today's topics:
noob: Trying perl, and decoding MIME attachments..stuck (cayenne)
Re: noob: Trying perl, and decoding MIME attachments..s <nobull@mail.com>
Re: Pari lib with Math-BigInt (win32) <tlviewer@yahoo.com>
Re: Password scheme/Persistent session... (krakle)
Re: pcap -> sniffer <Crazydj@chaostal.de>
Re: Perl vs PHP (krakle)
Re: Perl work? (krakle)
Re: Perl work? (krakle)
Re: Perl work? <ebohlman@omsdev.com>
Re: query on fork in perl <nobull@mail.com>
Re: Regex srch & repl only executing once (Ethan)
remote WMI access using perl? <mikee@mikee.ath.cx>
Re: remote WMI access using perl? <ittyspam@yahoo.com>
Re: remote WMI access using perl? <glex_nospam@qwest.invalid>
Re: remote WMI access using perl? <mikee@mikee.ath.cx>
Re: Request for help with search & replace script (Ethan)
test <abc@microsoft.com>
Umlaut: Segmentation Fault (Markus Dehmann)
Re: Umlaut: Segmentation Fault <usenet@morrow.me.uk>
Re: Using Cookies With Perl (krakle)
Re: Using Cookies With Perl <tore@aursand.no>
Re: Using Cookies With Perl <tadmc@augustmail.com>
Re: Using Cookies With Perl <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 25 May 2004 09:20:02 -0700
From: chilecayenne@yahoo.com (cayenne)
Subject: noob: Trying perl, and decoding MIME attachments..stuck in my code..can someone take a look?
Message-Id: <2deb3d1.0405250820.5dd55c03@posting.google.com>
Hello all,
I'm trying to learn Perl, and do something fairly difficult at the
same time for work. I'm trying to use the MIME tools modules...and
the examples there on the docs are kinda sparse...and I'm confused how
to decode things to a directory on my harddrive.
At this point, just to learn how it works...I'm sending the perl
script a simple email with text message...and one .jpg image that is
encoded in base64. I'm trying to write these out to a spot on my
harddrive. I'm posting just the part where it is looping through the
mime message, and trying to split off the plain text part (which does
work), but, blows up on messages with a base64 attachment.
Code snippet:
foreach $part ($entity->parts_DFS) {
$head = MIME::Head->new;
$head = $part->head;
$rec_filename = $head->recommended_filename;
$encode_type = $head->get('Content-Transfer-Encoding',0);
$encode_type =~ tr/A-Z/a-z/;
$encode_type =~ s/\s+$//;
my $mimetype = $part->mime_type();
if ($mimetype eq 'text/plain'){
$msg_body = $part->as_string;
$filename = $subject;
open (outfile,">$dir_path/$dir_name/$filename");
print outfile "$msg_body\n";
close (outfile);
} else {
$msg_body = new MIME::Decoder 'base64' or die 'unsupported';
$filename = $rec_filename;
open (outfile,">$dir_path/$dir_name/$filename");
$msg_body->decode ($part,outfile);
close (outfile);
}
I'm using :
use MIME::Parser;
use MIME::Head;
use MIME::Body;
use MIME::Decoder;
And the dir_path, dir_name are all being set correctly earlier in the
code..but, I'm having difficulty in decoding the attachment to the
disk...
Can someone give me an example or describe what I'm doing wrong
here...? I think it is the output part writing out the base64
part...but, I'm not sure what is wrong here...all the examples I've
seen are going to STDOUT rather than to a file on the harddrive...
Oh, one last thing probably important I'm doing this all in 'core'
which I am guessing means just all in memory rather that a temp spot
on the disk:
$parser->output_to_core(1);
Thanks in advance for any advice, pointers, links...
chilecayenne
------------------------------
Date: 25 May 2004 17:57:32 +0100
From: Brian McCauley <nobull@mail.com>
Subject: Re: noob: Trying perl, and decoding MIME attachments..stuck in my code..can someone take a look?
Message-Id: <u9ekp8sav7.fsf@wcl-l.bham.ac.uk>
chilecayenne@yahoo.com (cayenne) writes:
> I'm trying to learn Perl,
You should always declare all variables as lexically scoped in the
smallest applicable lexical scope unless you have a positive is a
reason to do otherwise. BTW: this is not perculliar to Perl, it
applies in all programming languges - allowing that a languge not
having lexical variables is a positive reason :-).
For Perl this means that most of the time the declaration should be
combined with the first assignment. BTW: this to is not perculliar to
Perl, it also applies in other programming languges where assignment
and declaration can be combined.
By following this convention you will be able to get maximum beniefit
out of putting "use strict" at the top of all your scripts.
Try to get into this habit now, do not wait for your failure to do so
to cause you the unecessary distress of wasting your own time and that
of other people. The longer you leave it the harder you will find it
to adjust. Worse still, if you leave it too long you may never adjust
and may mutate into a bitter and twisted troll.
The "use warnings" pragma can also be a lot of help when programming in Perl.
Have you seen the posting guidelines that are posted here frequently?
> and do something fairly difficult at the same time for work.
> I'm trying to use the MIME tools modules...and
> the examples there on the docs are kinda sparse...and I'm confused how
> to decode things to a directory on my harddrive.
>
> At this point, just to learn how it works...I'm sending the perl
> script a simple email with text message...and one .jpg image that is
> encoded in base64. I'm trying to write these out to a spot on my
> harddrive.
Is it failing? If so what error code is it returning when it fails?
Have you seen the posting guidelines that are posted here frequently?
> I'm posting just the part
You should always try to reduce your problem to a minimal but complete
script.
Have you seen the posting guidelines that are posted here frequently?
> where it is looping through the
> mime message, and trying to split off the plain text part (which does
> work), but, blows up on messages with a base64 attachment.
I'm sure it doesn't blow up. It probably fails in some way.
Have you seen the posting guidelines that are posted here frequently?
>
> Code snippet:
[ snip ]
I won't do the job of a machine. Please post code that's already
strict/warnings clean if you want sentient entities to take the time
to look at it.
> And the dir_path, dir_name are all being set correctly earlier in the
> code..but, I'm having difficulty in decoding the attachment to the
> disk...
Can you describe the form that difficulty takes?
Have you seen the posting guidelines that are posted here frequently?
> Can someone give me an example or describe what I'm doing wrong
> here...?
Have you seen the posting guidelines that are posted here frequently?
> Thanks in advance for any advice, pointers, links...
Have you seen the posting guidelines that are posted here frequently?
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
------------------------------
Date: Tue, 25 May 2004 20:17:14 GMT
From: "gnu valued customer" <tlviewer@yahoo.com>
Subject: Re: Pari lib with Math-BigInt (win32)
Message-Id: <eRNsc.7$XN2.2@nwrddc03.gnilink.net>
Hello Rob,
"Sisyphus" <kalinaubears@iinet.net.au> wrote in message =
news:40b29109$0$16599$5a62ac22@freenews.iinet.net.au...
> gnu valued customer wrote:
>=20
> >=20
> > warning:
> > Cannot load outdated Math::BigInt::Pari v1.10, please=20
> > upgrade at ... (points to about 'use')
> >=20
>=20
> Version 1.10 was put on CPAN earlier this year, and is the latest
> available ... calling it "outdated" seems a little severe to me :-)
>=20
> I get the same. The error is produced by Math::BigInt-1.70 - search=20
> 'BigInt.pm' for "outdated". I tried Math::BigInt-1.64 and the error =
did=20
> not arise, though 'nmake test' threw up some other errors. Perhaps =
using=20
> version 1.69 or 1.68 instead of 1.70 would provide a temporary =
workaround.
After having this suggestion seconded by Tels, I found v. 1.68 here
http://backpan.cpan.org/authors/id/T/TE/TELS/math/
Thanks Rob for pointing out such an easy workaround. Someone was saying
that I'd have to edit Math-BigInt-Pari myself, or wait 2 weeks!
By the way, using Pari underneath Math-BigInt is giving me a=20
several-order-of-magnitude speed increase. In the Pure-Perl case, =
computing
a 2048 bit Diffie-Hellman secret took over 1 minute; with (lib =3D> =
'Pari'), it
takes less than 1 second.=20
I'm prototyping the use of Perl(cgi) as a DH key server to the=20
Win32 CryptoAPI. With this speed increase I'm now planning on
finishing the prototyping, instead of giving up (in vain).
regards,
Mark
>=20
> The M::BI::P author (Tels), who is also currently maintaining M::BI,
> might be able to provide some insight if you don't get a satisfactory=20
> answer here. (He should at least be informed of the problem.)
I saw Tels post today in the ASPN Mailing list. Thanks to Tels for
confirmation the workaround of using an earlier version (<1.70)
>=20
> Cheers,
> Rob
>=20
> --=20
> To reply by email u have to take out the u in kalinaubears.
>
------------------------------
Date: 25 May 2004 11:25:39 -0700
From: krakle@visto.com (krakle)
Subject: Re: Password scheme/Persistent session...
Message-Id: <237aaff8.0405251025.24a495c@posting.google.com>
Uri Guttman <uri@stemsystems.com> wrote in message news:<x77jv1noc0.fsf@mail.sysarch.com>...
> i would pursue another profession
Yes I will pursue another profession because I posted a question that
I THOUGHT was on topic in this newsgroup... Yet i'm the dense one.
psssf. Complete morons here...
------------------------------
Date: Tue, 25 May 2004 22:02:41 +0200
From: Bastian Ballmann <Crazydj@chaostal.de>
Subject: Re: pcap -> sniffer
Message-Id: <2hhn3fFcuen1U1@uni-berlin.de>
Hi!
cruxnor wrote:
> I'm trying to code a simple sniffer in perl, but the results I get
> from pcap aren't those I had expected!
You've to decode the sniffed packets. Try using NetPacket::*
modules.
> My process sub looks like this:
>
> sub process_pkt {
> my($user_data, $hdr, $pkt) = @_;
>
> print "$pkt\n";
> }
Try the following code:
sub process_pkt {
my($user_data, $hdr, $pkt) = @_;
my $ip = NetPacket::IP->decode(eth_strip($pkt));
my $tcp = NetPacket::TCP->decode($ip->{'data'});
print "$ip->{'src_ip'}:$tcp->{'src_port'} --> \
$ip->{'dest_ip'}:$tcp->{'dest_port'}\n";
print "$tcp->{'data'}\n\n";
}
Be away of non-printable characters they could crash your
terminal, maybe convert them to hex using Data::Hexdumper
or similar modules.
If you are interessted in network programming with perl
take a look at my P.A.T.H. Projekt: p-a-t-h.sourceforge.net
Greets
Basti
------------------------------
Date: 25 May 2004 11:23:46 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl vs PHP
Message-Id: <237aaff8.0405251023.61d6fc8f@posting.google.com>
sholden@flexal.cs.usyd.edu.au (Sam Holden) wrote in message news:<slrncb50j5.gsp.sholden@flexal.cs.usyd.edu.au>...
> On 24 May 2004 15:45:43 -0700, krakle <krakle@visto.com> wrote:
> > "David H. Adler" <dha@panix2.panix.com> wrote in message news:<slrncb3ep1.qnp.dha@panix2.panix.com>...
> >> If you were to compare a perl program to a php program in terms of
> >> speed, they'd have to do the same thing if you wanted a meaningful
> >> comparison - in which case saying "a PHP CGI program [may be] faster
> >> than a Perl CGI program" would make sense, but to say that PHP is
> >> "faster than CGI" makes no sense whatsoever.
> >
> > I see your point. But since we are comparing Perl vs PHP (an internet
> > language) I assumed that most people would think when using CGI in
> > THIS threat they were referring to Perl and not C++ or any other
> > language (since it's irrelevant to topic)...
>
> But php should be compared with mod_perl, unless you think that people
> would also assume that PHP means "PHP CGI"...
I agree PHP should be compared to mod_perl. Didn't you read my
original post in this thread? However, choosing between Perl/CGI vs
PHP obviously PHP is more performance driven due to the speed.
------------------------------
Date: 25 May 2004 11:17:23 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl work?
Message-Id: <237aaff8.0405251017.21dcedb8@posting.google.com>
You guys are trying to say some foreigner who makes $2,000 a year
($38.50 a week) has a computer with internet access with a programming
education is taking away our jobs... haha no offense but if you THINK
so you are a complete moron.
------------------------------
Date: 25 May 2004 11:19:59 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl work?
Message-Id: <237aaff8.0405251019.43a144a7@posting.google.com>
Eric Bohlman <ebohlman@earthlink.net> wrote in message news:<Xns94F46CBE74DAebohlmanomsdevcom@130.133.1.4>...
> And obversely, an American who was making $2000/year
> in 1904 could be expected to have a similar background to an American
> making $40K/year in 2004.
Oh yea indeed but you are leaving out one thing.... THIS is 2004 NOT
1904. NO there isn't people making $2,000 a year today who can afford
a morgage, living expenses, computer and the education to get the
programming knowledge taking away your job hah...
------------------------------
Date: 25 May 2004 18:53:35 GMT
From: Eric Bohlman <ebohlman@omsdev.com>
Subject: Re: Perl work?
Message-Id: <Xns94F48DFFB1931ebohlmanomsdevcom@130.133.1.4>
krakle@visto.com (krakle) wrote in
news:237aaff8.0405251019.43a144a7@posting.google.com:
> Eric Bohlman <ebohlman@earthlink.net> wrote in message
> news:<Xns94F46CBE74DAebohlmanomsdevcom@130.133.1.4>...
>> And obversely, an American who was making $2000/year
>> in 1904 could be expected to have a similar background to an American
>> making $40K/year in 2004.
>
> Oh yea indeed but you are leaving out one thing.... THIS is 2004 NOT
> 1904. NO there isn't people making $2,000 a year today who can afford
> a morgage, living expenses, computer and the education to get the
> programming knowledge taking away your job hah...
s/people/people living within the borders of the USA/;
------------------------------
Date: 25 May 2004 17:39:49 +0100
From: Brian McCauley <nobull@mail.com>
Subject: Re: query on fork in perl
Message-Id: <u9n03wsboq.fsf@wcl-l.bham.ac.uk>
debhatta@hotmail.com (debraj) writes:
> I am trying out a new thing to me ie. use fork(). Now my requirement
> is like this :
>
> I have a file which has quite a few numbers such as :
>
> 22,23,34 etc.
> Now I have a sub-routine say sub create_page, which when passed the
> above numbers does quite a few things and creates html pages in their
> name, such as 22.html etc.
> So instead of passing one at a time, I wanted to pass it to fork'ed
> processes so that they happen all at a time.
Others have addressed how to do this in Perl but I'm not sure that
anyone has pointed out (the non-Perl issue) that unless you expect the
child procesess to be waiting on non-local resources this is probably
not a sensible thing to be doing.
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
------------------------------
Date: 25 May 2004 09:38:03 -0700
From: elektrophyte@yahoo.com (Ethan)
Subject: Re: Regex srch & repl only executing once
Message-Id: <55447041.0405250838.48f5b059@posting.google.com>
Thanks a lot for the help guys. I'll try those suggestions. I guess I
have to do some more reading in the docs.
E
------------------------------
Date: Tue, 25 May 2004 15:07:16 -0000
From: Mike <mikee@mikee.ath.cx>
Subject: remote WMI access using perl?
Message-Id: <10b6o94b3j2t248@corp.supernews.com>
I'm trying to convince some NT admins here at work of the
usefullness of monitoring their servers using a monitoring
system I have running. They want the monitoring done using
WMI, which is fine with me. Is there a protocol or something
(like telnet, ftp, ping, etc.) where I can connect to the
daemon (the WMI daemon?) on the windows box to read its values?
Mike
------------------------------
Date: Tue, 25 May 2004 11:12:15 -0400
From: Paul Lalli <ittyspam@yahoo.com>
Subject: Re: remote WMI access using perl?
Message-Id: <20040525111120.E3804@dishwasher.cs.rpi.edu>
On Tue, 25 May 2004, Mike wrote:
> I'm trying to convince some NT admins here at work of the
> usefullness of monitoring their servers using a monitoring
> system I have running. They want the monitoring done using
> WMI, which is fine with me. Is there a protocol or something
> (like telnet, ftp, ping, etc.) where I can connect to the
> daemon (the WMI daemon?) on the windows box to read its values?
>
> Mike
>
Whenever you have a Perl question that translates to "has anyone else ever
wanted to do this?", the place to start is search.cpan.org. In this
case, a search for WMI turned up:
http://search.cpan.org/~wyant/Win32-Process-Info-1.001/Info/WMI.pm
Paul Lalli
------------------------------
Date: Tue, 25 May 2004 10:12:28 -0500
From: "J. Gleixner" <glex_nospam@qwest.invalid>
Subject: Re: remote WMI access using perl?
Message-Id: <wnJsc.15$rb.17120@news.uswest.net>
Mike wrote:
> I'm trying to convince some NT admins here at work of the
> usefullness of monitoring their servers using a monitoring
> system I have running. They want the monitoring done using
> WMI, which is fine with me. Is there a protocol or something
> (like telnet, ftp, ping, etc.) where I can connect to the
> daemon (the WMI daemon?) on the windows box to read its values?
Your first stop should be CPAN, not this newsgroup.
http://search.cpan.org/search?query=wmi&mode=all
------------------------------
Date: Tue, 25 May 2004 17:28:58 -0000
From: Mike <mikee@mikee.ath.cx>
Subject: Re: remote WMI access using perl?
Message-Id: <10b70iq4u40re2e@corp.supernews.com>
In article <wnJsc.15$rb.17120@news.uswest.net>, J. Gleixner wrote:
> Mike wrote:
>> I'm trying to convince some NT admins here at work of the
>> usefullness of monitoring their servers using a monitoring
>> system I have running. They want the monitoring done using
>> WMI, which is fine with me. Is there a protocol or something
>> (like telnet, ftp, ping, etc.) where I can connect to the
>> daemon (the WMI daemon?) on the windows box to read its values?
>
> Your first stop should be CPAN, not this newsgroup.
>
> http://search.cpan.org/search?query=wmi&mode=all
My first stop was CPAN and when I did not find the kind of
solution I am searching for I tried this newsgroup. I asked
for something like telnet that I can touch a windows box
to find its health. The CPAN solutions require Win32::OLE.
I am searching for a protocol. The module Net::FTP implements
the protocol directly, not calling the ftp(1) client. Is
there a module that implements the WMI protocol?
Mike
------------------------------
Date: 25 May 2004 09:39:31 -0700
From: elektrophyte@yahoo.com (Ethan)
Subject: Re: Request for help with search & replace script
Message-Id: <55447041.0405250839.57328635@posting.google.com>
Thank you very much for the assistance. I try to incorporate that into the script.
E
------------------------------
Date: Tue, 25 May 2004 21:43:11 GMT
From: "Indigo5" <abc@microsoft.com>
Subject: test
Message-Id: <HyAHnx.M9I@news.boeing.com>
test post
------------------------------
Date: 25 May 2004 11:30:29 -0700
From: markus.cl@gmx.de (Markus Dehmann)
Subject: Umlaut: Segmentation Fault
Message-Id: <c1e48b51.0405251030.2583e2d@posting.google.com>
This little script gives me a segmentation fault (perl 5.8.0):
#!/usr/bin/perl -n
s/[^a-z]//g;
Malformed UTF-8 character (unexpected end of string) at ./clean.pl
line 9, <> line 692.
Malformed UTF-8 character (unexpected end of string) at ./clean.pl
line 9, <> line 1500.
Segmentation fault
The lines 692 and 1500 contain German umlaut, but so do earlier lines
where no error message comes up.
What's wrong?
Markus
------------------------------
Date: Tue, 25 May 2004 19:02:11 +0000 (UTC)
From: Ben Morrow <usenet@morrow.me.uk>
Subject: Re: Umlaut: Segmentation Fault
Message-Id: <c9057j$5dp$2@wisteria.csv.warwick.ac.uk>
Quoth markus.cl@gmx.de (Markus Dehmann):
> This little script gives me a segmentation fault (perl 5.8.0):
>
> #!/usr/bin/perl -n
> s/[^a-z]//g;
>
> Malformed UTF-8 character (unexpected end of string) at ./clean.pl
> line 9, <> line 692.
> Malformed UTF-8 character (unexpected end of string) at ./clean.pl
> line 9, <> line 1500.
> Segmentation fault
>
> The lines 692 and 1500 contain German umlaut, but so do earlier lines
> where no error message comes up.
>
> What's wrong?
The segfault is definitely a perl bug: upgrade to the latest 5.8.x.
You would also be much better off marking the encoding of your files if
it's not ASCII:
#!/usr/bin/perl -Mopen=IO,:encoding(iso8859-1) -n
s/[^a-z]//g;
Ben
--
If you put all the prophets, | You'd have so much more reason
Mystics and saints | Than ever was born
In one room together, | Out of all of the conflicts of time.
ben@morrow.me.uk The Levellers, 'Believers'
------------------------------
Date: 25 May 2004 11:21:46 -0700
From: krakle@visto.com (krakle)
Subject: Re: Using Cookies With Perl
Message-Id: <237aaff8.0405251021.7f3848c2@posting.google.com>
Uri Guttman <uri@stemsystems.com> wrote in message news:<x71xl9nnmg.fsf@mail.sysarch.com>...
> >>>>> "k" == krakle <krakle@visto.com> writes:
>
> k> "James Hunt" <jameskorea2003@hotmail.com> wrote in message news:<d6udnXeKBqsK9y_dRVn-hQ@comcast.com>...
> >> Does anyone have a good web reference for setting up and accessing cookies
> >> with Perl?
> >>
> >> - James Hunt
>
> k> This isn't a Perl question and has no excuse to be here.
> k> Right on Tad?
>
> nope. you lose again. he asked a specific question about how to do
> something in perl.
Wrong I asked how to do sessions in Perl. You just went off topic in
this guys thread. That's bad. Bad indeed.
------------------------------
Date: Tue, 25 May 2004 20:45:54 +0200
From: Tore Aursand <tore@aursand.no>
Subject: Re: Using Cookies With Perl
Message-Id: <pan.2004.05.25.18.45.10.362470@aursand.no>
On Tue, 25 May 2004 11:21:46 -0700, krakle wrote:
>>> This isn't a Perl question and has no excuse to be here.
>>> Right on Tad?
>> nope. you lose again. he asked a specific question about how to do
>> something in perl.
> Wrong I asked how [...]
_You_ asked? The OP's name is "James Hunt".
> [...] to do sessions in Perl.
The OP's subject was:
"Using Cookies With Perl"
Cookies have nothing to do with sessions, other than the fact that you can
use cookies to obtain session-like states across the HTTP protocol.
--
Tore Aursand <tore@aursand.no>
"Then there was the man who drowned crossing a stream with an average
depth of six inches." (W.I.E. Gates)
------------------------------
Date: Tue, 25 May 2004 16:26:29 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Using Cookies With Perl
Message-Id: <slrncb7eg5.v89.tadmc@magna.augustmail.com>
krakle <krakle@visto.com> wrote:
> "James Hunt" <jameskorea2003@hotmail.com> wrote in message news:<d6udnXeKBqsK9y_dRVn-hQ@comcast.com>...
>> Does anyone have a good web reference for setting up and accessing cookies
>> with Perl?
>>
>> - James Hunt
>
> This isn't a Perl question and has no excuse to be here.
This *is* a Perl question.
"Is session mgt possible without cookies" is not a Perl question.
The answer would be the same regardless of the language
chosen for its implementation.
> Right on Tad?
You are wrong yet again. Nobody is surprised at that I'm sure.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 May 2004 16:32:34 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Using Cookies With Perl
Message-Id: <slrncb7eri.v89.tadmc@magna.augustmail.com>
krakle <krakle@visto.com> wrote:
> Uri Guttman <uri@stemsystems.com> wrote in message news:<x71xl9nnmg.fsf@mail.sysarch.com>...
>> >>>>> "k" == krakle <krakle@visto.com> writes:
>>
>> k> "James Hunt" <jameskorea2003@hotmail.com> wrote in message news:<d6udnXeKBqsK9y_dRVn-hQ@comcast.com>...
>> >> Does anyone have a good web reference for setting up and accessing cookies
>> >> with Perl?
>> >>
>> >> - James Hunt
>>
>> k> This isn't a Perl question and has no excuse to be here.
>> k> Right on Tad?
>>
>> nope. you lose again. he asked a specific question about how to do
>> something in perl.
>
> Wrong I asked how to do sessions in Perl.
No you didn't.
You asked, in your characteristic sloppy English:
Is there anyways I can implement a password protected members area
with perhaps a persistent session without the use of cookies?
The question was about HTTP, not about any programming language.
> You just went off topic in
> this guys thread.
No he didn't.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
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 6608
***************************************