[24423] in Perl-Users-Digest
Perl-Users Digest, Issue: 6609 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed May 26 00:05:45 2004
Date: Tue, 25 May 2004 21:05:05 -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: 6609
Today's topics:
Re: ActiveState Perl mangles text files (Jim Keenan)
Re: Am I a programmer or a scripter? <doug.blot.hutcheson@nrm.blot.qld.blot.gov.blot.au>
Re: Am I a programmer or a scripter? <lv@aol.com>
Anonymous <net.weathersongATnemo>
Re: Anonymous <uri@stemsystems.com>
Re: Anonymous <tadmc@augustmail.com>
Re: create directory ... <jtc@shell.dimensional.com>
Re: create directory ... <tadmc@augustmail.com>
Re: From one-liner to script: -i option? <ddunham@redwood.taos.com>
Re: Getting the Attribute Bold <invalid-email@rochester.rr.com>
Re: how do I convert a file into its 8 bit 0/1 pattern (Jack)
Re: How to test @INC as seen by CGI script? <schaumfestiger@gmx.de>
Re: How to test @INC as seen by CGI script? <gnari@simnet.is>
Re: ne not working? <matthew.garrish@sympatico.ca>
Re: Pari lib with Math-BigInt (win32) <kalinaubears@iinet.net.au>
Re: Password scheme/Persistent session... <uri@stemsystems.com>
Re: Perl work? (krakle)
Re: Perl work? <emschwar@pobox.com>
Re: test <gnari@simnet.is>
Re: Using Cookies With Perl (krakle)
Re: Using Cookies With Perl <uri@stemsystems.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 25 May 2004 15:12:52 -0700
From: jkeen_via_google@yahoo.com (Jim Keenan)
Subject: Re: ActiveState Perl mangles text files
Message-Id: <196cb7af.0405251412.3aec1149@posting.google.com>
Mothra <mothra@mothra.com> wrote in message news:<ivGsc.16108671$Id.2673422@news.easynews.com>...
> >
> The text file was created in
> "Windows Notepad" by MS Outlook 2003 in a particular format, which is
> where all the garbage is coming from. If I pasted the same text into a
> file on a Unix machine, it all worked fine. I should have opened the
> file and re-saved it in the correct format. Bloody awkward Notepad :-(
I think the crucial part is "by MS Outlook 2003". On my day job
Notepad is all I have to write code with, but I never have problems
transferring the files to other systems. So I would infer the problem
comes from what Outlook does (though I've never used Outlook myself,
so I can't be sure).
Jim Keenan
------------------------------
Date: Tue, 25 May 2004 22:48:38 GMT
From: "Doug Hutcheson" <doug.blot.hutcheson@nrm.blot.qld.blot.gov.blot.au>
Subject: Re: Am I a programmer or a scripter?
Message-Id: <a3Qsc.2286$IH5.105293@news.optus.net.au>
"Peter Hickman" <peter@semantico.com> wrote in message
news:40b34238$0$2114$afc38c87@news.easynet.co.uk...
> Mothra wrote:
> > So is there a real difference, or is it just semantic snobbery?
>
> Snobbery, no doubt about it.
>
> Besides *real* programmers use assembler none of this high level language
stuff that is just for the babies who can't cope with hex ;-)
>
> I once knew a guy who programmed intel assembly in debug, not just DOS
stuff but windows drivers and the like.
A definition I read years ago: "Unix Guru - writes device drivers using
cat".
"8-)
IMHO, a program is a sequence of steps to achieve a planned outcome,
whether that be balancing the national budget or crossing the road to buy
milk. A programmer is one who writes down the sequence of steps in a form
which facilitates their execution in an effective and reproducible manner. A
good programmer will write the steps in a manner which enhances the
efficiency of both their execution and future modification, with best
economy of resources.
Almost invariably, those programmers I have worked with who exhibit
religious bigotry in favour of one language or another do not qualify as
good programmers, because they are too narrow minded to choose the best tool
for the job and will use, say C++ to perform a task better suited to PHP or
Perl.
Mothra, if you write working Perl code, you are a programmer in my
opinion. Tell 'em to go somewhere unpleasant and do something unspeakable -
use you own words, of course !!
Just my $0.02
Doug
--
Remove the blots from my address to reply
------------------------------
Date: Tue, 25 May 2004 21:28:53 -0500
From: l v <lv@aol.com>
Subject: Re: Am I a programmer or a scripter?
Message-Id: <40b40139$1_2@corp.newsgroups.com>
Mothra wrote:
> Semantic question here: what's the difference between a script and a
> program? At what stage can you call your Perl script a program for
> example? And at what stage can you call yourself a Perl programmer?
>
> I encounter some snobbery from time to time with programmers telling me
> that what I'm doing is "just scripting", whereas the stuff they write
> (in Java, ColdFusion, C++ etc) is "real programming".
>
> Well yes, I'm a lowly Sys Admin, and I've only been using Perl for about
> 3 years, but I've written some big and complex "scripts" in Perl to
> solve Sys Admin-type problems.
>
> So is there a real difference, or is it just semantic snobbery?
What they really mean is .... "whereas the stuff they write
.... is "real *hard* programming".
Tell them that programmers are a dime a dozen while you are a software
engineer.
Len
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
------------------------------
Date: Wed, 26 May 2004 01:06:13 GMT
From: David Frauzel <net.weathersongATnemo>
Subject: Anonymous
Message-Id: <797fcba1a98ae1ba61fcd8388a0a2d86@news.teranews.com>
Quick (or maybe not) question.
What is the difference between an anonymous array, an array, and a list?
For instance, here I have a list:
print +('foo', 'bar')[0];
And here I have an array constructed using a list:
@foo = ('foo', 'bar');
Given the flexibility of those two options, when (or why) must I use an
anonymous array? (Or is the answer, "only when you need to construct a
reference to one".)
My hunch is that it has to do with THING-of-THING structures (perldsc),
since,
@foo = ('foo', ('bar', 'baz'));
just created a single flat array with 3 elements. But, then, we're back to
references. So are references really the only use for anonymous
constructors at all...?
------------------------------
Date: Wed, 26 May 2004 01:45:59 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Anonymous
Message-Id: <x7aczwklk8.fsf@mail.sysarch.com>
answer: anonymous
--
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: Tue, 25 May 2004 21:04:03 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Anonymous
Message-Id: <slrncb7uoj.rq.tadmc@magna.augustmail.com>
David Frauzel <> wrote:
> What is the difference between an anonymous array, an array, and a list?
The difference between an anonymous array and an array is that
one has a name and one doesn't.
The difference between a list and an array is given in the answer
to that Frequently Asked Question, and since you have surely
already seen that answer I will not attempt to repeat it here.
> For instance, here I have a list:
>
> print +('foo', 'bar')[0];
>
> And here I have an array constructed using a list:
>
> @foo = ('foo', 'bar');
>
> Given the flexibility of those two options, when (or why) must I use an
> anonymous array?
You never _must_ use an array without a name, but it is often
convenient, particularly if you do not need to make use of
the name.
> (Or is the answer, "only when you need to construct a
> reference to one".)
That is when it is convenient, but you can always construct a
reference to a named array just as well...
> My hunch is that it has to do with THING-of-THING structures (perldsc),
^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^
Those are most commonly called "multi level data structures".
> since,
>
> @foo = ('foo', ('bar', 'baz'));
>
> just created a single flat array with 3 elements. But, then, we're back to
> references. So are references really the only use for anonymous
> constructors at all...?
If it has no name, then a reference is the only way to access it, so: yes.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 25 May 2004 18:15:48 -0600
From: Jim Cochrane <jtc@shell.dimensional.com>
Subject: Re: create directory ...
Message-Id: <slrncb7odq.st9.jtc@shell.dimensional.com>
In article <40b3c041$1@news.wineasy.se>, Rickard wrote:
> Jim Cochrane wrote:
>
>> In article <40b3bcc8$1@news.wineasy.se>, Rickard wrote:
>>
>>>Hi,
>>>
>>>I am currently setting up an Perl script which will create an directory.
>>>
>>>That is not any problem, the problem is that how do i create an
>>>directory out of an variable. Hmm, like this,
>>>
>>>my $test = "/tmp/"
>>>my $test2 = "test"
>>>
>>>mkpath('$test$test2), 0, 0777);
>>
>>
>> I'm not sure what mkpath is, but I believe what you're asking for is how to
>> concatenate strings - so you can use the '.' operator:
>>
>> mkpath($test . $test2, 0, 0777);
>>
>> If you want portability, you might try using File::Spec.
>>
>>
>>
>>>What i wan´t is to use the values of $test & $test2 to create an directory.
>>>
>>>Is that possible?
>>>
>>>
>>>When i try above i create an directory called $test$test2 instead of
>>>"/tmp/test"
>>>
>>>
>>>I have read about it at cpan, but no info about how to do it.
>>>
>>>//Rickard
>>
>>
>>
> Are there any other command to use to create an directory?
>
> The thing is that the first variable i use gets its value from an
> textfile and the second variable gets it value from an html form.
>
> That is why i want to create an path using these two variables.
>
> Oh, by the way, i use File::Path for the mkpath command.
>
Well, the easy part, concatenating string/scalars together, I suspect
you've figured out.
Creating directories is also quite easy - e.g., system("mkdir $dir"), or
find the right module.
But if you're asking about creating directories in a web-application
context, there are more issues involved. If this is the case, you'll need
to describe precisely what your setup is and what you are trying to do
before people will have enough info. to be able to help you.
--
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]
------------------------------
Date: Tue, 25 May 2004 19:01:52 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: create directory ...
Message-Id: <slrncb7njg.g3.tadmc@magna.augustmail.com>
Rickard <hanssonrickard@hotmail.com> wrote:
> Should i run script without -T
No!
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 25 May 2004 22:56:06 GMT
From: Darren Dunham <ddunham@redwood.taos.com>
Subject: Re: From one-liner to script: -i option?
Message-Id: <aaQsc.56885$yh1.22577@newssvr29.news.prodigy.com>
kj <socyl@987jk.com> wrote:
> I want to turn this "one-liner" (broken up for clarity)
> perl -i.bak -pe ' \
> BEGIN { $T = 8 } \
> 1 while s{^( *)\t} \
> {$1 . (" " x ($T-((length $1)%$T)))}ex' \
> some_file
> into a script, but leaving the -i option (whether it is used or
> not, and if so, what argument, if any, to give it) entirely up to
> the user.
> The simplest thing to do would be to set up the file:
> BEGIN { $ = 8 }
> # replace a tab-containing prefix with a prefix containing only
> # spaces and producing the same level of indentation
> 1 while s{^( *)\t}
> {$1 . (' ' x ($T-((length $1)%$T)))}ex
> __END__
Works for me. Just make sure the script starts
with '#!/path/to/perl -p -i.bak'
> ...making the script executable. The problem with this is that I
> lose the -i option. And if I invoke the script like this
Are you putting the -i on the "shebang" line?
> P.S. BTW, is there a way to achieve the same effect with a single
> s/// (or maybe s///g), without requiring a while loop?
Slurp the file into a single scalar, s///g, write the scalar. I don't
know that that's *better* though, since you have to have the whole file
in memory. I'd probably use the per-line loop in most situations.
#!/bin/perl -i.bak -p
BEGIN {$x = 'foobar';}
s/text/$x/g;
If you really couldn't use that feature for some reason, you can
duplicate it in the begin block...
#!/bin/perl -p
BEGIN { $x = 'foobar'; $^I = '.bak'; }
s/text/$x/g;
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
------------------------------
Date: Tue, 25 May 2004 23:58:57 GMT
From: Bob Walton <invalid-email@rochester.rr.com>
Subject: Re: Getting the Attribute Bold
Message-Id: <40B3DC79.3070807@rochester.rr.com>
George Kinley wrote:
...
> I am trying to print in color to command window in WIN2k, I am running my
> script on cmd.exe , but when I use Term:ANSIColor I am not able to have
> color display, I am not sure why it happenes, any way I worked other way
> round and used Wins32::Console, Now I can get colors , my quesction is how
> can I make the Attribute BOLD using Wins32::Console or any other module
> which I am not aware of
> -G
>
Maybe applying the FOREGROUND_INTENSITY attribute, or perhaps the
BACKGROUND_INTENSITY attribute, would give you what you want in
Win32::Console [untested]?
--
Bob Walton
Email: http://bwalton.com/cgi-bin/emailbob.pl
------------------------------
Date: 25 May 2004 16:29:31 -0700
From: jack_posemsky@yahoo.com (Jack)
Subject: Re: how do I convert a file into its 8 bit 0/1 pattern ?
Message-Id: <209b7e58.0405251529.646ff906@posting.google.com>
Brian McCauley <nobull@mail.com> wrote in message news:<u9iseksbbw.fsf@wcl-l.bham.ac.uk>...
> jack_posemsky@yahoo.com (Jack) writes:
> >
> > 1- read in a file and store its binary (byte) contents into an array (in increments)
> > 2- convert the binary bytes into their 8 bit 0/1 equivalents
>
> I do not understand what you mean by this. On a computer[1] a file
> consits of bytes and those bytes consist of 8 bits.
>
> Perhaps if you gave an example of the desired input and output?
>
> Anyhow this smells like an XY problem. Whatever it is that you expect
> to achive by converting the file into whatever form it is that you
> were trying to describe there's almost certainly a more direct
> approach.
>
> [1] Well there are exceptions but you are unlikely to be in one of
> those environments.
I want to capture the exact 0/1 bitstream from a datafile. How do I
accomplish this ?
thank you,
Jack
------------------------------
Date: Wed, 26 May 2004 00:13:48 +0200
From: Herr Hardy <schaumfestiger@gmx.de>
Subject: Re: How to test @INC as seen by CGI script?
Message-Id: <t4h7b0lnqsufuphqqdo8q2go0p5i8e49oc@4ax.com>
bill <please_post@nomail.edu> wrote on Tue, 25 May 2004 17:19:04 +0000
(UTC):
>
>
>
>Is there a simple way to test the @INC seen by one's CGI script,
>other than writing a CGI script that serves @INC out on a page,
>and visiting that page with a browser?
Something like (Depending on OS)
BEGIN{
die if(!-e '/home2/xampp/perl/lib/');
}
???
Hardy
------------------------------
Date: Wed, 26 May 2004 00:11:24 -0000
From: "gnari" <gnari@simnet.is>
Subject: Re: How to test @INC as seen by CGI script?
Message-Id: <c90n82$nds$1@news.simnet.is>
"bill" <please_post@nomail.edu> wrote in message
news:c8vv68$ruc$1@reader2.panix.com...
>
> Is there a simple way to test the @INC seen by one's CGI script,
> other than writing a CGI script that serves @INC out on a page,
> and visiting that page with a browser?
you mean like perl -le'print "@INC"' ?
of course, if there are more than one perls installed on your
system, or your server uses a statically linked perl, or does
things to your CGI script's environment, the method you mention
may be safer. (and what is wrong with that, by the way?)
gnari
------------------------------
Date: Tue, 25 May 2004 22:09:46 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: ne not working?
Message-Id: <G%Ssc.33844$tb4.1163488@news20.bellglobal.com>
"Thomas Kratz" <ThomasKratz@REMOVEwebCAPS.de> wrote in message
news:40b3931f.0@juno.wiesbaden.netsurf.de...
> Jay Sun Ex wrote:
>
> > #!/usr/local/bin/perl -w
> >
> > print "\nPlease enter your name: ";
> > chomp ($name = <STDIN>);
> > if ($name ne "me" || $name ne "myself") {
> > die "\nYou're not allowed here $name. Bye!\n";
> > } else {
> > print "\nWelcome $name\n";
> > }
>
> In addition to the logic problem others pointed out, it is better to use a
> lookup hash for this kind of work:
>
If you're going to recommend strictures and warnings, your code should
adhere to them you know... : )
> use strict;
> use warnings;
>
> my %allowed = map { $_ => undef } qw/
> me myself
> /;
>
> print "\nPlease enter your name: ";
> chomp ($name = <STDIN>);
chomp (my $name = <STDIN>);
>
> if ( exists(allowed{$name}) ) {
if ( exists($allowed{$name}) ) {
> print "\nWelcome $name\n";
> } else {
> die "\nYou're not allowed here $name. Bye!\n";
> }
>
Matt
------------------------------
Date: Wed, 26 May 2004 09:11:38 +1000
From: Sisyphus <kalinaubears@iinet.net.au>
Subject: Re: Pari lib with Math-BigInt (win32)
Message-Id: <40b3d3da$0$16584$5a62ac22@freenews.iinet.net.au>
gnu valued customer wrote:
>
> By the way, using Pari underneath Math-BigInt is giving me a
> several-order-of-magnitude speed increase. In the Pure-Perl case, computing
> a 2048 bit Diffie-Hellman secret took over 1 minute; with (lib => 'Pari'), it
> takes less than 1 second.
>
Yes, pure-perl doesn't deal so well with modular exponentiation - which
I would think is what eats up the time in your Diffie-Hellman computations.
I generally find that using GMP instead of Pari provides a further
(significant) speed increase. In the script below, I find GMP to be 20
times faster than Pari, but results vary depending upon the actual size
of the operands and the types of computations being conducted.
----------------------------------
use Math::BigInt;
#use Math::BigInt lib => 'GMP'; # Plug M::BI into M::GMP
#use Math::BigInt lib => 'Pari'; # Plug M::BI into M::Pari
use warnings;
use Benchmark;
$n = Math::BigInt->new('3' x 400);
$e = Math::BigInt->new('7' x 400);
$m = $e - 10;
timethese(1, {
'bench' => '$n->bmodpow($e, $m);',
});
print $n, "\n";
----------------------------------
If you want to try GMP on Win32, you can get the necesssary GMP dll from:
http://www.kalinabears.com.au/w32perl/GMP-4.1.3-msvc.tar.gz
Just extract 'libgmp-3.dll' from the tarball and place it somewhere in
your path. You won't need any of the other files contained in the tarball.
There's also Win32 binaries of Math::BigInt::GMP available.
Download for perl 5.6:
http://www.kalinabears.com.au/w32perl/Math-BigInt-GMP-56.tar.gz
Download for perl 5.8:
http://www.kalinabears.com.au/w32perl/Math-BigInt-GMP-58.tar.gz
Just install as per instructions in the Readme.
I've only just recently updated those files, and haven't yet checked to
see if anything has been broken in the process :-)
If anyone does find there's something that's broke, please let me know.
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
------------------------------
Date: Tue, 25 May 2004 23:25:34 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Password scheme/Persistent session...
Message-Id: <x7isekks2a.fsf@mail.sysarch.com>
>>>>> "k" == krakle <krakle@visto.com> writes:
k> Uri Guttman <uri@stemsystems.com> wrote in message news:<x77jv1noc0.fsf@mail.sysarch.com>...
>> i would pursue another profession
k> Yes I will pursue another profession because I posted a question
k> that I THOUGHT was on topic in this newsgroup... Yet i'm the dense
k> one. psssf. Complete morons here...
hahaha!!!
and you are the one asking questions. look in the mirror sometime and
really question who the moron is. now go away already. you have stuck
your nose into other threads and not helped there either.
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: 25 May 2004 16:27:29 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl work?
Message-Id: <237aaff8.0405251527.34bd932a@posting.google.com>
Eric Bohlman <ebohlman@omsdev.com> wrote in message news:<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/;
print "You can't afford to live in the US making $2,000 a year unless
you're a child - no matter what you border.\n";
------------------------------
Date: Tue, 25 May 2004 18:02:53 -0600
From: Eric Schwartz <emschwar@pobox.com>
Subject: Re: Perl work?
Message-Id: <eto3c5o6onm.fsf@fc.hp.com>
krakle@visto.com (krakle) writes:
> 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.
I'm sure there is some alternate parallel universe where you think
you're right, but in fact, in the real world, there are people in
Africa who moonlight on their school's or employer's computers during
off-hours, doing exactly this kind of work.
See http://www.bridges.org/africasource/ for more info, including
direct testimony from people who are in exactly that situation, or
worse. They're not exactly "taking away our jobs", but they are
taking jobs that pay less than peanuts to most of us in the First
World because it's the best they can do.
-=Eric
--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
-- Blair Houghton.
------------------------------
Date: Wed, 26 May 2004 00:19:06 -0000
From: "gnari" <gnari@simnet.is>
Subject: Re: test
Message-Id: <c90nmg$nf0$1@news.simnet.is>
"Indigo5" <abc@microsoft.com> wrote in message
news:HyAHnx.M9I@news.boeing.com...
> test post
testing killfile ...
gnari
------------------------------
Date: 25 May 2004 16:25:31 -0700
From: krakle@visto.com (krakle)
Subject: Re: Using Cookies With Perl
Message-Id: <237aaff8.0405251525.3049c140@posting.google.com>
Tore Aursand <tore@aursand.no> wrote in message news:<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.
He brought up a continueing bicker from another thread into this
thread. Noone said cookies are sessions or whatever you are trying to
get at.
------------------------------
Date: Tue, 25 May 2004 23:26:57 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Using Cookies With Perl
Message-Id: <x7fz9okrzy.fsf@mail.sysarch.com>
>>>>> "k" == krakle <krakle@visto.com> writes:
k> 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.
k> Wrong I asked how to do sessions in Perl. You just went off topic in
k> this guys thread. That's bad. Bad indeed.
DING! DING! DING!!!!
wow, you have no clue.
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: 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 6609
***************************************