[25067] in Perl-Users-Digest
Perl-Users Digest, Issue: 7317 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Oct 27 03:05:52 2004
Date: Wed, 27 Oct 2004 00:05:09 -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, 27 Oct 2004 Volume: 10 Number: 7317
Today's topics:
Re: Common file operations <usa1@llenroc.ude.invalid>
Re: Common file operations <tadmc@augustmail.com>
Re: Common file operations <jurgenex@hotmail.com>
Re: Compiling or Hiding Perl <samik@frKKshKll.org>
Re: Compiling or Hiding Perl <tadmc@augustmail.com>
Re: Compiling or Hiding Perl <tadmc@augustmail.com>
Re: Compiling or Hiding Perl <nospam@nospam.com>
Re: Compiling or Hiding Perl <nospam@nospam.com>
Re: Compiling or Hiding Perl <nospam@nospam.com>
Re: Compiling or Hiding Perl <nospam@nospam.com>
Re: Compiling or Hiding Perl <nospam@nospam.com>
Re: how to fix code running old perl version? <tassilo.von.parseval@rwth-aachen.de>
interactive text menu configuration module (buildmorelines)
Re: MAIL recommendation <sbryce@scottbryce.com>
Re: MAIL recommendation <nospam@nospam.com>
Re: MAIL recommendation <sbryce@scottbryce.com>
Re: Modify program to write just data to a text file. <segraves_f13@mindspring.com>
Re: Modify program to write just data to a text file. <tadmc@augustmail.com>
Re: regex trick needed <tadmc@augustmail.com>
Using HTTPS in UserAgent etc <nntp@rogers.com>
Re: Using HTTPS in UserAgent etc <usa1@llenroc.ude.invalid>
Re: Using HTTPS in UserAgent etc <nntp@rogers.com>
Re: Using HTTPS in UserAgent etc <usa1@llenroc.ude.invalid>
Re: Using HTTPS in UserAgent etc <nntp@rogers.com>
Re: Using HTTPS in UserAgent etc <usa1@llenroc.ude.invalid>
Re: Using HTTPS in UserAgent etc <tadmc@augustmail.com>
Re: What's the seed? <tassilo.von.parseval@rwth-aachen.de>
Re: where download web application source code examples (Jasper)
Re: where download web application source code examples <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 27 Oct 2004 04:05:31 GMT
From: "A. Sinan Unur" <usa1@llenroc.ude.invalid>
Subject: Re: Common file operations
Message-Id: <Xns958FEF32BFCasu1cornelledu@132.236.56.8>
"Shmuel (Seymour J.) Metz" <spamtrap@library.lspace.org.invalid> wrote in
news:417edfa1$3$fuzhry+tra$mr2ice@news.patriot.net:
> use constant TRUE => 1;
> use constant FALSE => '';
Please don't do this. Perl already has a well defined notion of true and
false. Don't invent new things.
In fact, this reminds me of my favorite comp.lang.c FAQ:
http://www.eskimo.com/~scs/C-faq/q10.2.html
Sinan.
------------------------------
Date: Tue, 26 Oct 2004 23:53:51 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Common file operations
Message-Id: <slrncnuaev.ovl.tadmc@magna.augustmail.com>
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:
> In <l30rn0d384u5798ibmbsl0raqf0g1qtrek@4ax.com>, on 10/26/2004
> at 12:42 AM, Michele Dondi <bik.mido@tiscalinet.it> said:
>>Also, see 'perldoc -q glob'.
>
> "No documentation found"
Then go find it!
(you have a broken perl installation)
>>Ever heard about regexen?
>
> No.
You must live a sheltered life.
>>Then glob() should do.
>
> No.
How do you know what glob() can and can't do if you cannot
access the docs for glob()?
Or do you just like typing "No" a lot?
>>Again, you should show some actual example proving that it doesn't.
>
> I might, for someone who isn't prejudiced. Why should I bother for
> someone who already has made up
Because there are hundreds of other people here besides the two of you,
and maybe one of them would help you if you helped them to help you...
> her mind?
s/her/his/;
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 27 Oct 2004 06:22:24 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: Common file operations
Message-Id: <A8Hfd.6781$LT1.1625@trnddc09>
Shmuel (Seymour J.) Metz wrote:
> In <ywffd.5216$LT1.3686@trnddc09>, on 10/25/2004
> at 10:56 PM, "J rgen Exner" <jurgenex@hotmail.com> said:
>
>> Your question is not clear to me. Or maybe it is actually two
>> questions?
>
> First, some background. In OS/2 there is no[1] concept of mounting a
> directory; instead, file systems are referred to by drive letter,
> there is a current dirve and each drive letter has an associated CWD.
[long and very reasonable explanation of special OS/2 requirements and
terminology snipped]
Sorry, that's beyond my expertise, never had any dealings with OS/2.
Maybe there is a module for dealing with the "current drive" and "CWD of the
current drive" and all that mess on CPAN already, but that's just a wild
guess.
jue
------------------------------
Date: Tue, 26 Oct 2004 23:20:16 -0500
From: Samik Raychaudhuri <samik@frKKshKll.org>
Subject: Re: Compiling or Hiding Perl
Message-Id: <cln7ml$n5i$1@news.doit.wisc.edu>
On 10/26/2004 4:34 PM, A. Sinan Unur wrote:
>
>
> Second, did you actually _read_ the original post?
>
> That is a retarded article that is not worth the bits it is printed on.
> That is the consensus from the discussion regarding that IBM article.
> Please don't go around spreading misinformation. Go read that thread
> again.
>
Hello,
I *did* read the thread .. and while you and bunch of knowledgeable folks think it is a retarded article, I think in the contrary. I learnt quite a few things, however bad they are, and I pointed out something that I thought might be relevant to this thread. What you think as misinformation might be just an information to some other people. Why don't we leave it onto themselves whether to take the idea, do more research on it, and finally reject it as a lame idea?
Don't take this personally, but this is a newsgroup, and as along as it is not off-topic, don't police.
--
Samik Raychaudhuri
University of Wisconsin, Madison
To email me, replace 'K' with 'e' in the 'From' field.
------------------------------
Date: Tue, 26 Oct 2004 23:56:30 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <slrncnuaju.ovl.tadmc@magna.augustmail.com>
Michael Carman <mjcarman@mchsi.com> wrote:
> daniel kaplan wrote:
> the general consensus of this group (which includes quite a
> few people with *lots* of knowledge about Perl) is that any attempts to
> do this are a wasted effort.
Then the OP should write programs in C instead of Perl.
C is a much more powerful and attractive language than Perl anyway.
Perl sucks, he should stop using it immediately and switch to
a more appropriate programming language. Even Python would be
better than Perl.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 27 Oct 2004 00:12:28 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <slrncnubhs.p2h.tadmc@magna.augustmail.com>
[ Please limit your line lengths to the conventional 70-72 characters. ]
Samik Raychaudhuri <samik@frKKshKll.org> wrote:
> On 10/26/2004 4:34 PM, A. Sinan Unur wrote:
>>
>>
>> Second, did you actually _read_ the original post?
>>
>
>> That is a retarded article that is not worth the bits it is printed on.
> and while you and bunch of knowledgeable folks think it is a
> retarded article, I think in the contrary.
It is everybody's right to be wrong.
> I learnt quite a few things, however bad they are,
Why would you want to learn bad things when it is just as easy
to learn good things? Do you have a lot of extra time on your
hands or something?
> What you think as misinformation might be just an information
> to some other people.
No, wrong information is wrong information.
Facts are not opinions.
> Why don't we leave it onto themselves whether to take the idea, do
> more research on it, and finally reject it as a lame idea?
Why lead them off into the woods learning a bunch of stuff that
they will then have to UNlearn?
Sounds like an unproductive method of learning to me...
> Don't take this personally, but this is a newsgroup, and as along as
> it is not off-topic, don't police.
Telling people that a piece of crap is not crap is doing them a disservice.
You are not a very nice person.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 27 Oct 2004 01:21:15 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <1098854700.79485@nntp.acecape.com>
> It is very easy to tell to whom I am referring because I do not, unlike
> you, snip attributions. So, I am asking you not to snip attributions.
ok, still totally lost...
> > but since you seem quite up-to-date, i will re-ask "you" directly if
> > that's ok....do you know of any "organized effort" to try and make
> > this a reality?
>
> Read the FAQ on this topic.
i DID read the FAQ as i mentioned in the ORIGINAL post....i am clear that
there is no magic bullet, but there is nothing in the faq, other than an
experimental version by one individual, if these are future goals in an
organized effort....
------------------------------
Date: Wed, 27 Oct 2004 01:21:48 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <1098854700.940726@nntp.acecape.com>
>but the
> bottom line is that most methods of hiding your source code are
> trivially defeated by any clueful Perl programmer.
thanks
------------------------------
Date: Wed, 27 Oct 2004 01:24:23 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <1098854701.258833@nntp.acecape.com>
> Don't take this personally, but this is a newsgroup, and as along as it is
not off-topic, don't police.
boy are you barking up the wrong tree...i tried to be free form here a few
days ago and i have lost three pints of blood so far. you either goose-step
to the fuehrer...i mean FAQ, or you are wrong...
------------------------------
Date: Wed, 27 Oct 2004 01:26:58 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <1098854855.587797@nntp.acecape.com>
> (Yes, I'm being an ass, but I can't help it today. Don't take it
> personally.)
read all threads related to me, and you bet i'll take it personally....but
on the off chance you really couldn't help it...sometimes, it's company
policy, sometimes it's shareholders, etc. etc.
in the end you have to research every possibilty....also as i said in an
earlier post, when i researched this a year ago or so, i got my answer, but
since am now looking into Perl i had to re-check. afert all things change
------------------------------
Date: Wed, 27 Oct 2004 01:29:42 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: Compiling or Hiding Perl
Message-Id: <1098855020.48927@nntp.acecape.com>
> As opposed to a certain resident of Redmond, Washington who made his
> millions BECAUSE people pirated his software.
usually a defender of his, but not a topic of this thread....but you got to
give it to him...don't make a GUI computer...make GUI OS for the smae
computers everybody is buying, and already making....
------------------------------
Date: Wed, 27 Oct 2004 07:12:59 +0200
From: "Tassilo v. Parseval" <tassilo.von.parseval@rwth-aachen.de>
Subject: Re: how to fix code running old perl version?
Message-Id: <slrncnubir.qo.tassilo.von.parseval@localhost.localdomain>
Also sprach Abigail:
> Paul Lalli (mritty@gmail.com) wrote on MMMMLXXIV September MCMXCIII in
><URL:news:UOsfd.3113$Xq3.2993@trndny01>:
> !! No no no! Wrong solution! Keep use strict, and use our's predecessor:
> !! use vars qw/$opt_v/; #this replaces our $opt_v;
>
>
> Considering that his script runs fine *with* use strict on 5.6 and 5.8,
> I don't see any harm in removing the use strict, and the other change
> he proposes.
>
> What benefit does keeping 'use strict' have?
Strictures still have one runtime-effect: That is detecting and barfing
on symbolic references. So strictures shouldn't automatically be removed
once a program passes 'perl -Mstrict -c'. One never knows under which
contrived circumstances things could still go wrong.
I was lately busy with re-writing my MP3 player. It's a fairly huge
program with many dependencies, some classes and quite messy because it
involves at least two event-loops going on at the same time. I've now
made warnings fatal and produce a stack-trace so that I can gradually
fix one after the other. This is of course too rigid for software in
production use but it's a good way to bring software up to production
level.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
------------------------------
Date: 26 Oct 2004 23:02:53 -0700
From: bulk88@hotmail.com (buildmorelines)
Subject: interactive text menu configuration module
Message-Id: <ee659c69.0410262202.1af6426c@posting.google.com>
I have been looking through CPAN and I cant seem to find a module to
do what I want. None of the modules under config seem to have any
interactivity or anything.
I would like a text mode, preferable pure perl, or atleast portable
(not sure how portable curses is), text mode, no gui, no TK,
interactive menu configuration with preferably writing to a user
editable config file (INI, or whatever) and nested menus, module that
I can use? Know of any on CPAN?
------------------------------
Date: Tue, 26 Oct 2004 22:44:52 -0600
From: Scott Bryce <sbryce@scottbryce.com>
Subject: Re: MAIL recommendation
Message-Id: <10nu9u088g666f1@corp.supernews.com>
Charlton Wilbur wrote:
> Rather than typing a 1000-word response every time someone
> like you can't be bothered to read the FAQ, they point people at the
> FAQ.
Which probably has better answers than many of us can come up with off
the top of our heads, so pointing someone to the FAQ is pointing that
person to a good answer to their question.
------------------------------
Date: Wed, 27 Oct 2004 01:52:02 -0400
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: MAIL recommendation
Message-Id: <1098856359.624335@nntp.acecape.com>
sorry i don't read wilbur's posts....so i'll answer this:
> Which probably has better answers than many of us can come up with off
> the top of our heads, so pointing someone to the FAQ is pointing that
> person to a good answer to their question.
sorry guys, asking an opinion is a person thing, i have been given
a few mail modules to look at...but look at the FAQ when you do
a search on IDE (mentioning it cause i got the same speech when
i asked for opinions on an IDE.."FAQ!""FAQ!""FAQ!")
....and this is what it says (i'll truncate):
"If you want a Windows IDE, check the following:
CodeMagicCD
link
Komodo
link and what it includes.
The Object System
link
PerlBuilder
link and a quick desc
Perl code magic
link
visiPerl+
link"
guys/gals....that is a FAQ! nothing more, there is NO OPINION there.
doesn't say
that --- offers upload, +++ is slow, ==== is buggy, etc.
and if you can't take 2 seconds to say...this one i think sucks, this one i
love, etc.
then i'm sorry you're not a community...you might help technicaly, but then
you're
just a book.
when someone asks you, how do i print to the browser, by all means
FAQ'em....
(pun intended)
when someone asks, "can anyone recommend a decent IDE/Mail Module"
if you just keep FAQing them, then you're worth less than a book, or the
FAQ..
cause those you keep at your desk.
i quote wilbur:
"It is extremely unlikely that you'll get a different
answer in clpm than you get in the FAQ, because clpm is made up
largely of the people who *wrote* the FAQ. "
well, looking up IDE's on FAQ has no opinions. therefore since
you can't ask peoples opinion on something here, there's no community.
i do like how a select few do give their opinion and move on....suprised the
SS
haven't hunted them down and taken them out...oops gotta go, someone's at
the door...
------------------------------
Date: Wed, 27 Oct 2004 00:43:52 -0600
From: Scott Bryce <sbryce@scottbryce.com>
Subject: Re: MAIL recommendation
Message-Id: <10nugt6isjlpcf5@corp.supernews.com>
daniel kaplan wrote:
> guys/gals....that is a FAQ! nothing more, there is NO OPINION there.
So try them out and reach your own conclusions. I would guess that most
of the regulars here use text editors, not IDEs.
> then i'm sorry you're not a community
This isn't a community. It is a technical newsgroup. You still haven't
read the posting guidelines, have you?
------------------------------
Date: Wed, 27 Oct 2004 04:12:31 GMT
From: "Bill Segraves" <segraves_f13@mindspring.com>
Subject: Re: Modify program to write just data to a text file.
Message-Id: <PeFfd.10661$ta5.10373@newsread3.news.atl.earthlink.net>
"Mortgageloan2004" <mortgageloan2004@aol.com> wrote in message
news:20041026223539.28660.00001485@mb-m05.aol.com...
> This program, below, will create a database and write the fields and
their
> values to a database, and email just the data or the data and the
fieldnames.
1. Start with making your web site a bit more secure. You have no index page
on https://www.mortgage-pros.com/pwc/, opening all of the files there to
scrutiny by anyone who cares to look at them.
2. Same problem with https://www.mortgage-pros.com/pwc/_vti_cnf/.
3. Same problem with https://www.mortgage-pros.com/pwc/pages/.
4. Same problem with https://www.mortgage-pros.com/pwc/rates/.
5. Same problem with https://www.mortgage-pros.com/pwc/rates/_vti_cnf/.
> I want it it to do the following in addition to what it already does
without
> changing that.
This is not the correct newsgroup for what you've requested. IMO, you should
be seeking the services of a professional who can help ensure you are using
code that is more secure than what you're using now.
A Google search with "EZscripting.co.uk security problems" may convince you
that you shouldn't risk the future of your company in this way.
My $0.02. Keep the change. ;-)
Good luck.
--
Bill Segraves
------------------------------
Date: Wed, 27 Oct 2004 00:00:33 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Modify program to write just data to a text file.
Message-Id: <slrncnuarh.ovl.tadmc@magna.augustmail.com>
Mortgageloan2004 <mortgageloan2004@aol.com> wrote:
> Could someone please help with this additional
> code?
Hire a programmer, they have to eat too you know.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 26 Oct 2004 18:12:17 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: regex trick needed
Message-Id: <slrncntmeh.ocg.tadmc@magna.augustmail.com>
Patrick Drouin <patrick.drouin@umontreal.ca> wrote:
> Although the description of my problem was not very clear, you guys
> pointed me in the right direction. Here's what I used:
>
> $rule =~ s/\$(\w+)/${$1}/g;
You should put "use strict;" in all of your Perl programs!
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 27 Oct 2004 00:10:26 -0400
From: "nntp" <nntp@rogers.com>
Subject: Using HTTPS in UserAgent etc
Message-Id: <huadnTaPgdpBguLcRVn-hQ@rogers.com>
does Useragent support HTTPs? I know PHP needs cURL to have it working. I
also heard some perl scripts require openSSL. Isn't SSL included in default
Perl?
------------------------------
Date: 27 Oct 2004 04:17:38 GMT
From: "A. Sinan Unur" <usa1@llenroc.ude.invalid>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <Xns958F2FD1711Fasu1cornelledu@132.236.56.8>
"nntp" <nntp@rogers.com> wrote in
news:huadnTaPgdpBguLcRVn-hQ@rogers.com:
> does Useragent support HTTPs? I know PHP needs cURL to have it
> working. I also heard some perl scripts require openSSL. Isn't SSL
> included in default Perl?
What part of
http://search.cpan.org/~gaas/libwww-perl-5.800/lwpcook.pod#HTTPS
is not clear?
Sinan.
------------------------------
Date: Wed, 27 Oct 2004 00:19:24 -0400
From: "nntp" <nntp@rogers.com>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <s6-dnUiVJdF0vOLcRVn-2Q@rogers.com>
> does Useragent support HTTPs? I know PHP needs cURL to have it working. I
> also heard some perl scripts require openSSL. Isn't SSL included in
default
> Perl?
>
It seems the script I am looking at does not call openSSL, but
IO::Socket::SSL. Is IO::Socket::SSL indenpendent from openSSL?
------------------------------
Date: 27 Oct 2004 04:23:03 GMT
From: "A. Sinan Unur" <usa1@llenroc.ude.invalid>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <Xns958F3E7E331Easu1cornelledu@132.236.56.8>
"nntp" <nntp@rogers.com> wrote in
news:s6-dnUiVJdF0vOLcRVn-2Q@rogers.com:
>> does Useragent support HTTPs? I know PHP needs cURL to have it
>> working. I also heard some perl scripts require openSSL. Isn't SSL
>> included in
> default
>> Perl?
> It seems the script I am looking at does not call openSSL, but
> IO::Socket::SSL. Is IO::Socket::SSL indenpendent from openSSL?
What part of
http://search.cpan.org/~behroozi/IO-Socket-SSL-0.96/SSL.pm#LIMITATIONS
is not clear?
Sinan
------------------------------
Date: Wed, 27 Oct 2004 00:34:14 -0400
From: "nntp" <nntp@rogers.com>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <dfKdncKMsYr_uOLcRVn-hw@rogers.com>
> > does Useragent support HTTPs? I know PHP needs cURL to have it
> > working. I also heard some perl scripts require openSSL. Isn't SSL
> > included in default Perl?
>
> What part of
>
> http://search.cpan.org/~gaas/libwww-perl-5.800/lwpcook.pod#HTTPS
>
> is not clear?
>
> Sinan.
Not clear. It says:
URLs with https scheme are accessed in exactly the same way as with http
scheme, provided that an SSL interface module for LWP has been properly
installed (see the README.SSL file found in the libwww-perl distribution for
more details). If no SSL interface is installed for LWP to use, then you
will get "501 Protocol scheme 'https' is not supported" errors when
accessing such URLs.
Do I install it during or after I stall ActiveState Perl? Is it default in
Perl?
------------------------------
Date: 27 Oct 2004 04:55:29 GMT
From: "A. Sinan Unur" <usa1@llenroc.ude.invalid>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <Xns958F967BF902asu1cornelledu@132.236.56.8>
"nntp" <nntp@rogers.com> wrote in
news:dfKdncKMsYr_uOLcRVn-hw@rogers.com:
>> > does Useragent support HTTPs? I know PHP needs cURL to have it
>> > working. I also heard some perl scripts require openSSL. Isn't SSL
>> > included in default Perl?
>>
>> What part of
>>
>> http://search.cpan.org/~gaas/libwww-perl-5.800/lwpcook.pod#HTTPS
>>
>> is not clear?
>>
>> Sinan.
>
> Not clear. It says:
> URLs with https scheme are accessed in exactly the same way as with
> http scheme, provided that an SSL interface module for LWP has been
> properly installed (see the README.SSL file found in the libwww-perl
> distribution for more details). If no SSL interface is installed for
> LWP to use, then you will get "501 Protocol scheme 'https' is not
> supported" errors when accessing such URLs.
>
> Do I install it during or after I stall ActiveState Perl? Is it
> default in Perl?
So, you felt it is not necessary to read the README.SSL? Or, did you read
it and decided not to check whether the modules mentioned there are
installed on your system? Or, upon checking that, did you find that they
are not installed? Did you then decide not to do a google search but rather
ask someone else to do it for you? Or, did you do a google search and then
fail to find John Bokma's excellent web page on how to install one of those
packages? How lazy can you get?
http://johnbokma.com/perl/https.html
Sinan.
------------------------------
Date: Wed, 27 Oct 2004 00:18:13 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Using HTTPS in UserAgent etc
Message-Id: <slrncnubsl.p2h.tadmc@magna.augustmail.com>
nntp <nntp@rogers.com> wrote:
>> > does Useragent support HTTPs? I know PHP needs cURL to have it
>> > working. I also heard some perl scripts require openSSL. Isn't SSL
>> > included in default Perl?
>>
>> What part of
>>
>> http://search.cpan.org/~gaas/libwww-perl-5.800/lwpcook.pod#HTTPS
>>
>> is not clear?
>>
>> Sinan.
>
> Not clear. It says:
> see the README.SSL file found in the libwww-perl distribution for
> more details
Did you see the README.SSL file found in the libwww-perl distribution for
more details?
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 27 Oct 2004 07:43:35 +0200
From: "Tassilo v. Parseval" <tassilo.von.parseval@rwth-aachen.de>
Subject: Re: What's the seed?
Message-Id: <slrncnudc7.qo.tassilo.von.parseval@localhost.localdomain>
Also sprach ctcgag@hotmail.com:
> Ben Morrow <usenet@morrow.me.uk> wrote:
>> Quoth ctcgag@hotmail.com:
>> > Derek Fountain <nospam@example.com> wrote:
>> > > In any recent version of Perl, the seed for the random number
>> > > generator is set at the first time rand() is called. Can I find out
>> > > what that seed is so I can subsequently reproduce the random
>> > > sequence?
>> > >
>> > > At present I'm setting my own seed using "time ^ ($$ + ($$ << 15))",
>> > > but my program is being run repeatedly over and over, and only takes
>> > > a fraction of a second to do its job. That means time is often the
>> > > same for several runs, and $$ tends to go up in small, sometimes
>> > > single, steps. I have my suspicions about the quality of my seed!
>> >
>> > I think this would be generally adequate, but you don't say what you
>> > are using this for. If you are concerned, and you think that perl's
>> > default srand is better than what you are doing, I would do something
>> > like this:
>> >
>> > my $x=int rand(~0); #Cause srand to be invoked "naturally"
>> > srand($x);
>> > warn "using $x as seed"; #record seed
>>
>> I think this is incorrect: the seed contains *more* entropy than any
>> given return value from rand(), so this will give you less random
>> numbers than not setting the seed at all.
>
> But the primary purpose wasn't to create a seed with more entropy
> than perl's default seed, but rather to know what the seed was so it could
> be re-used in the future.
There's no way of getting this information. The seed is calculated using
Perl_seed() (in util.c). Its return value is used to initialize the
libc's random number generator but it's not stored anywhere. That means
one has to call srand() manually if one intends to produce the same
sequence of random number all over again.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
------------------------------
Date: 26 Oct 2004 21:56:30 -0700
From: jasper_marzin@yahoo.com (Jasper)
Subject: Re: where download web application source code examples ?
Message-Id: <89b27d52.0410262056.6c848d4c@posting.google.com>
Ben Morrow <usenet@morrow.me.uk> wrote in message news:<5nqt42-lj5.ln1@osiris.mauzo.dyndns.org>...
> Quoth jasper_marzin@yahoo.com (Jasper):
> > Hi building an ecommerce website here, is there anywhere on the web
> > one can download the perl source for a basic one ? Its probably a
> > search problem but I cant find any..
>
> Try
>
> http://www.google.com/
> http://search.cpan.org/
> http://jobs.perl.org/
>
> Request for pre-written scripts are not welcome here. If you wish to
> write your own and get stuck, we will be happy to help you.
>
> Ben
So where are they welcome Mr. Ben ? Are you the new moderator ?
------------------------------
Date: Wed, 27 Oct 2004 00:14:49 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: where download web application source code examples ?
Message-Id: <slrncnubm9.p2h.tadmc@magna.augustmail.com>
Jasper <jasper_marzin@yahoo.com> wrote:
> Ben Morrow <usenet@morrow.me.uk> wrote in message news:<5nqt42-lj5.ln1@osiris.mauzo.dyndns.org>...
>> Quoth jasper_marzin@yahoo.com (Jasper):
>> > is there anywhere on the web
>> > one can download the perl source for a basic one ? Its probably a
>> > search problem but I cant find any..
>> Request for pre-written scripts are not welcome here.
> Are you the new moderator ?
Are you the new asshole?
*plonk*
--
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 7317
***************************************