[29375] in Perl-Users-Digest
Perl-Users Digest, Issue: 619 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jul 6 14:15:09 2007
Date: Fri, 6 Jul 2007 11:14:56 -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 Fri, 6 Jul 2007 Volume: 11 Number: 619
Today's topics:
difference between perl and mod_perl vdhinesh@gmail.com
Re: difference between perl and mod_perl <ts@dionic.net>
Re: difference between perl and mod_perl <vdhinesh@gmail.com>
Re: difference between perl and mod_perl <bik.mido@tiscalinet.it>
Re: difference between perl and mod_perl <ts@dionic.net>
Re: difference between perl and mod_perl <spamtrap@dot-app.org>
Re: difference between perl and mod_perl krakle@visto.com
Re: difference between perl and mod_perl <bik.mido@tiscalinet.it>
Re: difference between perl and mod_perl <baxter.brad@gmail.com>
Re: difference between perl and mod_perl <redgrittybrick@spamweary.foo>
Re: difference between perl and mod_perl anno4000@radom.zrz.tu-berlin.de
Re: difference between perl and mod_perl <baxter.brad@gmail.com>
Re: difference between perl and mod_perl <a24061@ducksburg.com>
Re: difference between perl and mod_perl <savagebeaste@yahoo.com>
Re: difference between perl and mod_perl <savagebeaste@yahoo.com>
Re: difference between perl and mod_perl <savagebeaste@yahoo.com>
Re: difference between perl and mod_perl <invalid@invalid.nyet>
Re: difference between perl and mod_perl <spamtrap@dot-app.org>
Re: difference between perl and mod_perl <bik.mido@tiscalinet.it>
Re: difference between perl and mod_perl <joe@inwap.com>
Re: difference between perl and mod_perl <ts@dionic.net>
Re: dollar sign literals <zen13097@zen.co.uk>
Download MP3 file from site with cookies? dave_nul@hotmail.com
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 04 Jul 2007 04:36:00 -0700
From: vdhinesh@gmail.com
Subject: difference between perl and mod_perl
Message-Id: <1183548960.976211.39570@o61g2000hsh.googlegroups.com>
hi all,
can any one tell what is the difference between perl and
mod_perl ???
------------------------------
Date: Wed, 04 Jul 2007 13:02:49 +0100
From: Tim Southerwood <ts@dionic.net>
Subject: Re: difference between perl and mod_perl
Message-Id: <468b8c69$0$647$5a6aecb4@news.aaisp.net.uk>
vdhinesh@gmail.com wrote:
> hi all,
>
> can any one tell what is the difference between perl and
> mod_perl ???
perl executes perl script as a standalone process.
mod_perl runs perl script in the context of an Apache web server.
The latter imposes some constraints and expectations on the script.
HTH
Tim
------------------------------
Date: Wed, 04 Jul 2007 05:07:12 -0700
From: Dinesh kumar <vdhinesh@gmail.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <1183550832.273979.114730@k79g2000hse.googlegroups.com>
On Jul 4, 5:02 pm, Tim Southerwood <t...@dionic.net> wrote:
> vdhin...@gmail.com wrote:
> > hi all,
>
> > can any one tell what is thedifferencebetweenperland
> >mod_perl???
>
> perlexecutesperlscript as a standalone process.
>
> mod_perlrunsperlscript in the context of an Apache web server.
>
> The latter imposes some constraints and expectations on the script.
>
> HTH
>
> Tim
Hi
can you explain in brief???????
dhinesh
------------------------------
Date: Wed, 04 Jul 2007 15:37:39 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: difference between perl and mod_perl
Message-Id: <vc8n83doa2adenvef3lqgk8t7o3o451j6l@4ax.com>
On Wed, 04 Jul 2007 04:36:00 -0700, vdhinesh@gmail.com wrote:
> can any one tell what is the difference between perl and
>mod_perl ???
Perl: a programming language.
perl: a specific Perl interpreter.
mod_perl: optional module for the Apache HTTP server which embeds a
Perl interpreter into Apache.
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
------------------------------
Date: Wed, 04 Jul 2007 15:06:36 +0100
From: Tim Southerwood <ts@dionic.net>
Subject: Re: difference between perl and mod_perl
Message-Id: <468ba96c$0$648$5a6aecb4@news.aaisp.net.uk>
Dinesh kumar wrote:
> On Jul 4, 5:02 pm, Tim Southerwood <t...@dionic.net> wrote:
>> vdhin...@gmail.com wrote:
>> > hi all,
>>
>> > can any one tell what is thedifferencebetweenperland
>> >mod_perl???
>>
>> perlexecutesperlscript as a standalone process.
>>
>> mod_perlrunsperlscript in the context of an Apache web server.
>>
>> The latter imposes some constraints and expectations on the script.
>>
>> HTH
>>
>> Tim
>
>
>
> Hi
>
> can you explain in brief???????
>
> dhinesh
That's pretty brief - what are you having trouble understanding?
------------------------------
Date: Wed, 04 Jul 2007 17:21:19 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: difference between perl and mod_perl
Message-Id: <m2odirc1bk.fsf@dot-app.org>
vdhinesh@gmail.com writes:
> can any one tell what is the difference between perl and
> mod_perl ???
Perl, aka /usr/bin/perl, is a standalone interpreter. Mod_perl is an inter-
preter that's been embedded into an Apache instance.
Both use the Perl interpreter in the libperl library - in fact, if you do a
"ls -l /usr/bin/perl", you'll see that it's positively tiny, being little
more than a main() function that calls into libperl for its "heavy lifting".
Because they literally use the same interpreter, there's no language-level
difference between the two, although there are modules that only work in
one environment or the other, for reasons that have nothing to do with the
interpreter itself.
sherm--
------------------------------
Date: Wed, 04 Jul 2007 16:05:40 -0700
From: krakle@visto.com
Subject: Re: difference between perl and mod_perl
Message-Id: <1183590340.750861.229750@q75g2000hsh.googlegroups.com>
On Jul 4, 6:36 am, vdhin...@gmail.com wrote:
> hi all,
>
> can any one tell what is the difference between perl and
> mod_perl ???
God forbid a newbie asks a question here... You will most likely
encounter idiots who will indirectly flame you for saying 'perl'
instead of 'Perl'.
Guys... It's NOT a big deal. You KNOW what he meant. This is one of
the reasons why the Perl usenet group is complete garbage. A lot of
brains but very poor social skills.
I've said it before and I'll say it again... Some of you guys need
some lessons in social situations because you do NOT know how to
interact with other people!!!
To answer the original posters question... Perl and mod_perl is the
same language, Perl. But mod_perl embeds a perl interputer into Apache
HTTP. With mod_perl the code is compiled once (on first time execution
after update) and remains cached in memory. This saves on start up
time thus making your code 'run' faster. With mod_perl you can also
control the Apache life cycle.
------------------------------
Date: Thu, 05 Jul 2007 08:22:05 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: difference between perl and mod_perl
Message-Id: <k43p83pu4hqhs29m7f985d91jiqbmvc4ei@4ax.com>
On Wed, 04 Jul 2007 16:05:40 -0700, krakle@visto.com wrote:
: Guys... It's NOT a big deal. You KNOW what he meant. This is one of
: the reasons why the Perl usenet group is complete garbage. A lot of
: brains but very poor social skills.
While I may occasionally buy the argument, I'd like to see you explain
how anyone of those who answered failed to convey the correct
information:
On Wed, 04 Jul 2007 13:02:49 +0100, Tim Southerwood <ts@dionic.net>
wrote:
: perl executes perl script as a standalone process.
:
: mod_perl runs perl script in the context of an Apache web server.
:
: The latter imposes some constraints and expectations on the script.
Wrong? Garbage? Flame?
On Wed, 04 Jul 2007 15:37:39 +0200, Michele Dondi
<bik.mido@tiscalinet.it> wrote:
: Perl: a programming language.
: perl: a specific Perl interpreter.
: mod_perl: optional module for the Apache HTTP server which embeds a
: Perl interpreter into Apache.
Wrong? Garbage? Flame?
On Wed, 04 Jul 2007 17:21:19 -0400, Sherm Pendley
<spamtrap@dot-app.org> wrote:
: Perl, aka /usr/bin/perl, is a standalone interpreter. Mod_perl is an inter-
: preter that's been embedded into an Apache instance.
:
: Both use the Perl interpreter in the libperl library - in fact, if you do a
: "ls -l /usr/bin/perl", you'll see that it's positively tiny, being little
: more than a main() function that calls into libperl for its "heavy lifting".
:
: Because they literally use the same interpreter, there's no language-level
: difference between the two, although there are modules that only work in
: one environment or the other, for reasons that have nothing to do with the
: interpreter itself.
Wrong? Garbage? Flame?
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
------------------------------
Date: Thu, 05 Jul 2007 13:55:54 -0000
From: Brad Baxter <baxter.brad@gmail.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <1183643754.607372.144440@c77g2000hse.googlegroups.com>
On Jul 4, 7:05 pm, kra...@visto.com wrote:
> On Jul 4, 6:36 am, vdhin...@gmail.com wrote:
>
> > hi all,
>
> > can any one tell what is the difference between perl and
> > mod_perl ???
>
> God forbid a newbie asks a question here... You will most likely
> encounter idiots who will indirectly flame you for saying 'perl'
> instead of 'Perl'.
Example?
> Guys... It's NOT a big deal. You KNOW what he meant. This is one of
> the reasons why the Perl usenet group is complete garbage. A lot of
> brains but very poor social skills.
Projecting?
> I've said it before and I'll say it again... Some of you guys need
> some lessons in social situations because you do NOT know how to
> interact with other people!!!
Is this one of those lessons?
> To answer the original posters question... Perl and mod_perl is the
> same language, Perl. But mod_perl embeds a perl interputer into Apache
> HTTP. With mod_perl the code is compiled once (on first time execution
> after update) and remains cached in memory. This saves on start up
> time thus making your code 'run' faster. With mod_perl you can also
> control the Apache life cycle.
That sounds a lot like all the other answers given.
--
Brad
------------------------------
Date: Thu, 05 Jul 2007 15:19:14 +0100
From: RedGrittyBrick <redgrittybrick@spamweary.foo>
Subject: Re: difference between perl and mod_perl
Message-Id: <468cfdea$0$17172$db0fefd9@news.zen.co.uk>
krakle@visto.com wrote:
> the Perl usenet group is complete garbage.
How long have you been participating in "complete garbage"?
Why?
------------------------------
Date: 5 Jul 2007 16:28:41 GMT
From: anno4000@radom.zrz.tu-berlin.de
Subject: Re: difference between perl and mod_perl
Message-Id: <5f4khpF3ad9viU2@mid.dfncis.de>
Brad Baxter <baxter.brad@gmail.com> wrote in comp.lang.perl.misc:
> On Jul 4, 7:05 pm, kra...@visto.com wrote:
[...]
> > same language, Perl. But mod_perl embeds a perl interputer into Apache
>
> That sounds a lot like all the other answers given.
...except for the "interputer". I like the word.
Anno
------------------------------
Date: Fri, 06 Jul 2007 03:38:10 -0000
From: Brad Baxter <baxter.brad@gmail.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <1183693090.271188.187900@w3g2000hsg.googlegroups.com>
On Jul 5, 12:28 pm, anno4...@radom.zrz.tu-berlin.de wrote:
> Brad Baxter <baxter.b...@gmail.com> wrote in comp.lang.perl.misc:
>
> > On Jul 4, 7:05 pm, kra...@visto.com wrote:
>
> [...]
>
> > > same language, Perl. But mod_perl embeds a perl interputer into Apache
>
> > That sounds a lot like all the other answers given.
>
> ...except for the "interputer". I like the word.
You might have a computer. What you had first might have been an
anteputer (or preputer). Then you might have had your interputer (or
transputer). In the future, you might get a postputer. You might have
a bunch of peripherals circumputer, periputer, epiputer, amphiputer,
or even exputer. If you kept everything, you might be polyputer (vs.
monoputer or soloputer). They might be homoputer or heteroputer. Not
that there's anything wrong with that. Your wife may be aputer, but if
they take up a lot of space, she might be downright antiputer.
Any disputers?
--
Brad
------------------------------
Date: Fri, 6 Jul 2007 07:01:17 +0100
From: Adam Funk <a24061@ducksburg.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <de21m4-eis.ln1@news.ducksburg.com>
On 2007-07-06, Brad Baxter wrote:
>> > > same language, Perl. But mod_perl embeds a perl interputer into Apache
>>
>> > That sounds a lot like all the other answers given.
>>
>> ...except for the "interputer". I like the word.
>
> You might have a computer. What you had first might have been an
> anteputer (or preputer). Then you might have had your interputer (or
> transputer). In the future, you might get a postputer. You might have
> a bunch of peripherals circumputer, periputer, epiputer, amphiputer,
> or even exputer. If you kept everything, you might be polyputer (vs.
> monoputer or soloputer). They might be homoputer or heteroputer. Not
> that there's anything wrong with that. Your wife may be aputer, but if
> they take up a lot of space, she might be downright antiputer.
>
> Any disputers?
"computational appliance"
--
Unix is a user-friendly operating system. It's just very choosy about
its friends.
------------------------------
Date: Thu, 5 Jul 2007 23:25:18 -0700
From: "Clenna Lumina" <savagebeaste@yahoo.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <5f65ijF3bmmt6U1@mid.individual.net>
Tim Southerwood wrote:
> Dinesh kumar wrote:
>
>> On Jul 4, 5:02 pm, Tim Southerwood <t...@dionic.net> wrote:
>>> vdhin...@gmail.com wrote:
>>>> hi all,
>>>
>>>> can any one tell what is thedifferencebetweenperland
>>>> mod_perl???
>>>
>>> perlexecutesperlscript as a standalone process.
>>>
>>> mod_perlrunsperlscript in the context of an Apache web server.
>>>
>>> The latter imposes some constraints and expectations on the script.
>>>
>>> HTH
>>>
>>> Tim
>>
>>
>>
>> Hi
>>
>> can you explain in brief???????
>>
>> dhinesh
>
> That's pretty brief - what are you having trouble understanding?
I think what he wanted to know was what sort of "constraints and
expectations" are imposed?
--
CL
------------------------------
Date: Thu, 5 Jul 2007 23:29:24 -0700
From: "Clenna Lumina" <savagebeaste@yahoo.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <5f65q6F3an065U1@mid.individual.net>
Sherm Pendley wrote:
[...]
> Both use the Perl interpreter in the libperl library - in fact, if
> you do a "ls -l /usr/bin/perl", you'll see that it's positively tiny,
Not as tiny as /usr/local/perl1/bin/perl though :)
(I only have this for historical purposes - it's nice to know how Perl
was in it's first incarnation.)
--
CL
------------------------------
Date: Thu, 5 Jul 2007 23:38:39 -0700
From: "Clenna Lumina" <savagebeaste@yahoo.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <5f66bhF3b9d8cU1@mid.individual.net>
krakle@visto.com wrote:
> On Jul 4, 6:36 am, vdhin...@gmail.com wrote:
>> hi all,
>>
>> can any one tell what is the difference between perl and
>> mod_perl ???
>
[...]
> To answer the original posters question... Perl and mod_perl is the
> same language, Perl.
The subject actually read "difference between perl and mod_perl", so as
far as I can tell, that would be the correct way to say it. As someone
else pointed out, both the normal perl (eg: /usr/bin/perl) and mod_perl
use the same libperl, so the only real differences (in regards to the
language) I can tell are modules that make specific use of one
environment or another. One that a tailored for mod_perl are probably in
fact tailored to CGI use in general.
> But mod_perl embeds a perl interputer into Apache
> HTTP. With mod_perl the code is compiled once (on first time execution
> after update) and remains cached in memory. This saves on start up
> time thus making your code 'run' faster. With mod_perl you can also
> control the Apache life cycle.
True, mod_perl is specifically trailored for Apache.
--
CL
------------------------------
Date: Fri, 6 Jul 2007 02:46:03 -0400
From: "Wade Ward" <invalid@invalid.nyet>
Subject: Re: difference between perl and mod_perl
Message-Id: <bs-dnfQlQcXxeBDbnZ2dnUVZ_g6dnZ2d@comcast.com>
"Brad Baxter" <baxter.brad@gmail.com> wrote in message
news:1183693090.271188.187900@w3g2000hsg.googlegroups.com...
> On Jul 5, 12:28 pm, anno4...@radom.zrz.tu-berlin.de wrote:
>> Brad Baxter <baxter.b...@gmail.com> wrote in comp.lang.perl.misc:
>>
>> > On Jul 4, 7:05 pm, kra...@visto.com wrote:
>>
>> [...]
>>
>> > > same language, Perl. But mod_perl embeds a perl interputer into
>> > > Apache
>>
>> > That sounds a lot like all the other answers given.
>>
>> ...except for the "interputer". I like the word.
>
> You might have a computer. What you had first might have been an
> anteputer (or preputer). Then you might have had your interputer (or
> transputer). In the future, you might get a postputer. You might have
> a bunch of peripherals circumputer, periputer, epiputer, amphiputer,
> or even exputer. If you kept everything, you might be polyputer (vs.
> monoputer or soloputer). They might be homoputer or heteroputer. Not
> that there's anything wrong with that. Your wife may be aputer, but if
> they take up a lot of space, she might be downright antiputer.
>
> Any disputers?
You're funny.
--
Wade Ward
------------------------------
Date: Fri, 06 Jul 2007 04:13:37 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: difference between perl and mod_perl
Message-Id: <m2k5te7xvy.fsf@dot-app.org>
"Clenna Lumina" <savagebeaste@yahoo.com> writes:
> Sherm Pendley wrote:
> [...]
>> Both use the Perl interpreter in the libperl library - in fact, if
>> you do a "ls -l /usr/bin/perl", you'll see that it's positively tiny,
>
> Not as tiny as /usr/local/perl1/bin/perl though :)
Not as tiny as a statically-linked /usr/bin/perl, either - I should have
mentioned that possibility.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Fri, 06 Jul 2007 11:09:48 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: difference between perl and mod_perl
Message-Id: <7m1s83dd8o8llavb3dl93t2m20hd2vodn1@4ax.com>
On Thu, 5 Jul 2007 23:38:39 -0700, "Clenna Lumina"
<savagebeaste@yahoo.com> wrote:
>environment or another. One that a tailored for mod_perl are probably in
>fact tailored to CGI use in general.
Just to nitpick: s/CGI/webby stuff/;
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
------------------------------
Date: Fri, 06 Jul 2007 02:32:12 -0700
From: Joe Smith <joe@inwap.com>
Subject: Re: difference between perl and mod_perl
Message-Id: <rbedneT7QfC-kRPbnZ2dnUVZ_judnZ2d@comcast.com>
Tim Southerwood wrote:
> The latter imposes some constraints and expectations on the script.
Global variables may or may not be set to undef when the script runs.
For example:
our $active_accounts;
if ($active_accounts) {
reset_global_variables(); # Clear out junk from previous invocation
$active_accounts = 0;
}
The idiom of "our local $variable_name;" is useful in mod_perl.
-Joe
------------------------------
Date: Fri, 06 Jul 2007 10:37:30 +0100
From: Tim Southerwood <ts@dionic.net>
Subject: Re: difference between perl and mod_perl
Message-Id: <468e0d5a$0$648$5a6aecb4@news.aaisp.net.uk>
Joe Smith wrote:
> Tim Southerwood wrote:
>
>> The latter imposes some constraints and expectations on the script.
>
> Global variables may or may not be set to undef when the script runs.
> For example:
>
> our $active_accounts;
> if ($active_accounts) {
> reset_global_variables(); # Clear out junk from previous invocation
> $active_accounts = 0;
> }
>
> The idiom of "our local $variable_name;" is useful in mod_perl.
>
> -Joe
Here's some extra stuff about mod_perl too:
http://modperlbook.org/html/ch06_04.html
Tim
------------------------------
Date: 04 Jul 2007 07:17:17 GMT
From: Dave Weaver <zen13097@zen.co.uk>
Subject: Re: dollar sign literals
Message-Id: <468b497b$0$8057$fa0fcedb@news.zen.co.uk>
Jason Williams <Jason.Williams.0617@gmail.com> wrote:
>
> I am trying to run a unix ksh script to exec a perl command on each
> file in a dir. Problem is, I need to include a dollar sign literal in
> the right side of a substitution, like so:
> -------------------------------
> #!/bin/ksh
> PATH=$PATH:/dbmgtu01/app/oracle/orbitz/1.0.0/bin:.
> for FILE in dc0003*
> do
> echo $FILE
> cp $FILE $FILE.bk
> perl -pi -e "s/(.*)dc0003\.maintain\.partitions(.*dev.*)/
> \1$calling_program_dev\2/g" $FILE
> done
> ------------------------------
As others have said, this is really a ksh quoting problem.
You want perl to see .../\1\$calling_program_dev\2/...
First, enclose the Perl code in single quotes, to ensure perl sees the
$, then you'll need to escape it so that it's not interpreted as a Perl
variable.
So:
perl -pi -e 's/(.*)dc0003\.maintain\.partitions(.*dev.*)/
\1\$calling_program_dev\2/g' $FILE
More on-topic, the initial (.*), the corresponding \1, adn the trailing .* in
your regex are redundant, and it's better to use $1 instead of \1 in the
replacement part of the substitution:
perl -pi -e 's/dc0003\.maintain\.partitions(.*dev)/
\$calling_program_dev$1/g' $FILE
------------------------------
Date: Wed, 04 Jul 2007 16:40:19 -0000
From: dave_nul@hotmail.com
Subject: Download MP3 file from site with cookies?
Message-Id: <1183567219.718970.253070@d30g2000prg.googlegroups.com>
Hello, everyone. I'm writing a Perl script that downloads and saves
to disk all of the MP3 files linked on a given Web page. For Web
sites that do not require the use of cookies, I'm able to use
LWP::Simple::getstore() without any problem. And I already know how
to download HTML Web pages from sites that use cookies, using
LWP::UserAgent->new(), HTTP::Cookies::Netscape->new(), HTTP::Request-
>new(), etc.
But I do not see how to do both at the same time -- in other words,
download and store an MP3 file from a site that requires one to be
logged in with a cookie. I tried using the HTTP::Request->new(), $ua-
>request(), but it does not work because the content type is not 'text/
html', but instead 'audio/mpeg', and thus $response->is_success is
false.
Any ideas?
------------------------------
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 V11 Issue 619
**************************************