[15933] in Perl-Users-Digest
Perl-Users Digest, Issue: 3346 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jun 13 18:11:00 2000
Date: Tue, 13 Jun 2000 15:10:35 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <960934235-v9-i3346@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Tue, 13 Jun 2000 Volume: 9 Number: 3346
Today's topics:
Re: How to capture screen that uses curses <rootbeer@redcat.com>
Re: How to check browser for Javascript enable? <care227@attglobal.net>
Re: HTTPS with LWP <johnNOjoSPAM@appmagic.com.invalid>
Re: Larry Rosler interview on perl.com! (David H. Adler)
Re: Larry Rosler interview on perl.com! <care227@attglobal.net>
Re: Larry Rosler interview on perl.com! (Bart Lateur)
Re: Larry Rosler interview on perl.com! <lr@hpl.hp.com>
Re: Larry Rosler interview on perl.com! (Jerome O'Neil)
Re: Larry Rosler interview on perl.com! <flavell@mail.cern.ch>
Re: Larry Rosler interview on perl.com! <care227@attglobal.net>
Re: Larry Rosler interview on perl.com! <htp@mac.com>
my vs. our tlars@my-deja.com
Re: my vs. our <care227@attglobal.net>
Re: my vs. our (Bart Lateur)
need quick regexp help! <no_email@no_email.com>
Re: need quick regexp help! <rootbeer@redcat.com>
Re: need quick regexp help! <lauren_smith13@hotmail.com>
Re: need quick regexp help! <lr@hpl.hp.com>
newby hex question <tlynch@leading.net>
Re: newby hex question <lr@hpl.hp.com>
Re: Perl + web history (was: Re: ANSI Perl: No Way !!!) (Neil Kandalgaonkar)
Perl and MM Flash <gruven@mindspring.com>
Re: PGP::GPG::MessageProcessor + IO::Handle woes... <rootbeer@redcat.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 13 Jun 2000 12:42:48 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: How to capture screen that uses curses
Message-Id: <Pine.GSO.4.10.10006131242320.18837-100000@user2.teleport.com>
On Tue, 13 Jun 2000, Siew Kuen wrote:
> Is there any easier way to capture the curses screen and output them
> to a text file? Any modules that I can use to do the job...like Term,
> Telnet modules?
If there's a module which does what you want, it should be listed in
the module list on CPAN. If you don't find one to your liking, you're
welcome and encouraged to submit one! :-) Hope this helps!
http://search.cpan.org/
http://www.cpan.org/
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 13 Jun 2000 15:01:25 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: How to check browser for Javascript enable?
Message-Id: <39468505.9979251A@attglobal.net>
Tony wrote:
>
> The reason I want to do this is so that I can do data validation using
> client-side Javascript only, without having to worrying about the users
> entering funky data. Yes, I know the safest thing to do is to use
> server-side validation, but I don't want my users to wait for the round-trip
> response.
All the posts in reply to this are good, but I'd like to offer you a
real world example. Mostly because im bored. You've given me a
form to fill out, with lots of checks in the form to ensure stuff
like string length and jscript to make sure I've entered data.
I save that form page to my local disk and alter it. Mind you,
I haven't changed the _where_ of the posting, I'm only fiddling
with the _what_. Now say you were opening a pipe to sendmail
and you had a drop down box with some predefined to: addresses.
Webmaster, feedback, sales, support... that sort of stuff.
Well, im silly, but I don't like dropdown boxes, so on my new
modified form, I'm going to send something I want to send, not
what your dropdown had. I'm sending a shell escape and I'm
going to have a root shell on your system fairly quickly.
Or I might send lots and lots and lots of data. So much that
when you send that data as an argument to an external program,
it causes a buffer overflow. Ouch.
We could go on all day with this. The point is one should _ALWAYS_
verify input on the server _before_ doing anything with that data.
------------------------------
Date: Tue, 13 Jun 2000 12:48:28 -0700
From: john <johnNOjoSPAM@appmagic.com.invalid>
Subject: Re: HTTPS with LWP
Message-Id: <01088f76.69778f15@usw-ex0103-023.remarq.com>
I made some progress. First downgrading openssl didn't work for
me. By the way, I'm using NT, not UNIX.
Bad file descriptor is returned in many situations were the
connection fails.
My version of Perl (perl5.004 binary for NT) overrides the
socket functions, replacing them with aversion that isn't
compatible with Microsoft's version. I solved this problem, but
still get Bad file descriptor. DH_generate_key fails during the
v3 ssl server connection.
John
In article <Pine.BSF.4.21.0006121715150.39206-
100000@king.cts.com>, Jason Brown <jrbrown@cts.com> wrote:
>
>I think I may know the problem. According to the
>Crypt:SSLeay on-line documentation, the following
>OpenSSL versions are compatible:
>
>
> PLATFORM CPU SSL PERL DATE
WHO
> -------- --- --- ---- ----
---
> WinNT SP4 x86 OpenSSL 0.9.4 5.00404 1999-10-03
Joshua Chamas
> FreeBSD 3.2 ?x86 OpenSSL 0.9.2b 5.00503 1999-09-29
Rip Toren
> Solaris 2.6 ?Sparc OpenSSL 0.9.4 5.00404 1999-08-24
Patrick Killelea
> FreeBSD 2.2.5 x86 OpenSSL 0.9.3 5.00404 1999-08-19
Andy Lee
> Solaris 2.5.1 USparc OpenSSL 0.9.4 5.00503 1999-08-18
Marek Rouchal
> Solaris 2.6 x86 OpenSSL 0.9.4 5.00501 1999-08-12
Joshua Chamas
> Solaris 2.6 x86 SSLeay 0.8.0 5.00501 1999-08-12
Joshua Chamas
> Linux 2.2.10 x86 OpenSSL 0.9.4 5.00503 1999-08-11
John Barrett
> WinNT SP4 x86 SSLeay 0.9.2 5.00404 1999-08-10
Joshua Chamas
>
>Looks like in both of our cases, we need to download and install
>OpenSSl 0.9.4. This also means we need to recompile
Crypt:SSLeay.
>
>I have not tried it yet, but will let you know the results of my
>test.
>
>
>
>
>On Thu, 8 Jun 2000, john wrote:
>
>> In article
>> <Pine.BSF.4.21.0006071012350.79067-100000@king.cts.com>, Jason
>> Brown <jrbrown@cts.com> wrote:
>> >
>> >I am writing a PERL script to fetch a web page encrypted by
SSL.
>> >
>> >I installed:
>> >
>> >>I got the following error:
>> >
>> >Failed: 500 Can't connect to www.helsinki.fi:443 (Bad file
>> number)
>> >
>> >
>> >What am I doing wrong?????
>>
>> I'm doing the same thing on Windows NT (using the same
versions
>> of modules Cryp-Leay, libwww, and openssl) and get the same
>> error. With debugging turned on I see:
>>
>> LWP::UserAgent::new: ()
>> retrieving
>> https://trading.etrade.com/cgi-bin/gx.cgi/AppLogic+Loginpage
>> LWP::UserAgent::request: ()
>> LWP::UserAgent::simple_request: GET
>> https://trading.etrade.com/cgi-bin/gx.cgi/AppLogic+Loginpage
>> LWP::UserAgent::_need_proxy: Not proxied
>> LWP::Protocol::http::request: ()
>> LWP::UserAgent::request: Simple response: Internal Server
Error
>> Error: 500 Can't connect to trading.etrade.com:443 (Bad file
>> descriptor)
>>
>> So far, I've tracked it down to the connect in openssl
returning
>> a -1 for all favors of SSL. Let me know if you figure it out.
>>
>> John Anderson
>>
>>
>> * Sent from RemarQ http://www.remarq.com The Internet's
Discussion Network *
>> The fastest and easiest way to search and participate in
Usenet - Free!
>>
>>
>
>Jason Brown
>UNIX System Admin.
>
>
>
>
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
------------------------------
Date: 13 Jun 2000 18:25:06 GMT
From: dha@panix.com (David H. Adler)
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <slrn8kcv42.p5a.dha@panix6.panix.com>
On Tue, 13 Jun 2000 10:47:04 -0700, Larry Rosler <lr@hpl.hp.com> wrote:
>But, to take a prime example of an omission, there is nothing for one of
>the major hurdles for beginners -- regular expressions. When I see
>advice here to begineers to read about something in perlre, I choke with
>laughter. That document is precise, and impenetrable unless you already
>understand the premises.
If memory serves, someone *is* working on a tutorial for that. Not
sure of the status, though.
dha
--
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
If God didn't want us to eat animals, he wouldn't have made them out
of Meat. - Phillip, Goats, 20sep99
------------------------------
Date: Tue, 13 Jun 2000 14:47:57 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <394681DD.3228C7C7@attglobal.net>
Larry Rosler wrote:
>
>
> But, to take a prime example of an omission, there is nothing for one of
> the major hurdles for beginners -- regular expressions. When I see
> advice here to begineers to read about something in perlre, I choke with
> laughter. That document is precise, and impenetrable unless you already
> understand the premises.
Thats an interesting idea. perlretut? I must say that as someone
still learning Perl, regular expressions are one of the biggest
hurdles, and one of the most powerfull language features once
mastered.
------------------------------
Date: Tue, 13 Jun 2000 18:49:42 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <39488162.10757720@news.skynet.be>
Larry Rosler wrote:
>But, to take a prime example of an omission, there is nothing for one of
>the major hurdles for beginners -- regular expressions. When I see
>advice here to begineers to read about something in perlre, I choke with
>laughter.
I learned a lot at the time from Tom C's "irregular expressions". It's
still available at <http://language.perl.com/all_about/regexps.html>.
--
Bart.
------------------------------
Date: Tue, 13 Jun 2000 12:17:49 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <MPG.13b028bc3db4545898ab69@nntp.hpl.hp.com>
In article <39488162.10757720@news.skynet.be> on Tue, 13 Jun 2000
18:49:42 GMT, Bart Lateur <bart.lateur@skynet.be> says...
> Larry Rosler wrote:
>
> >But, to take a prime example of an omission, there is nothing for one of
> >the major hurdles for beginners -- regular expressions. When I see
> >advice here to begineers to read about something in perlre, I choke with
> >laughter.
>
> I learned a lot at the time from Tom C's "irregular expressions". It's
> still available at <http://language.perl.com/all_about/regexps.html>.
But perldoc doesn't show it because it isn't on the hard disk with the
perl installation, so at the moment at least it falls in the category of
Just Another Web-based Tutorial. One can't RTFM someone for not finding
it.
David H. Adler says someone is working on perlretut. More power to
whoever it is!
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Tue, 13 Jun 2000 20:49:17 GMT
From: jerome@activeindexing.com (Jerome O'Neil)
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <h7x15.372$Kr1.28843@news.uswest.net>
Larry Rosler <lr@hpl.hp.com> elucidates:
>> perolopentut, perlreftut, perlboot, perltoot, perltootc, and perlthtut
>> all ship with the current distribution. Those are just part of the
>> more than 30 document sections that are sitting on your hard drive
>> right now.
>
> I would include perldsc as an example of useful tutorial information.
Indeed. Others as well. The ones I listed are explicitly listed
as tutorials, though.
> But, to take a prime example of an omission, there is nothing for one of
> the major hurdles for beginners -- regular expressions. When I see
> advice here to begineers to read about something in perlre, I choke with
> laughter. That document is precise, and impenetrable unless you already
> understand the premises.
Regular expressions are going to confuse someone regardless of the
implementation language. A perlretut would be a great addition to
the documents.
I think thats one of the big reasons Perl get's it's "write only" reputation.
People confuse the regex language with perl.
------------------------------
Date: Tue, 13 Jun 2000 22:56:52 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <Pine.GHP.4.21.0006132255550.10517-100000@hpplus03.cern.ch>
On Tue, 13 Jun 2000, Jerome O'Neil wrote:
> I think thats one of the big reasons Perl get's it's "write only" reputation.
I thought that honour went to APL ;-)
------------------------------
Date: Tue, 13 Jun 2000 17:22:38 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <3946A61E.59CEDFB5@attglobal.net>
"Alan J. Flavell" wrote:
>
> On Tue, 13 Jun 2000, Jerome O'Neil wrote:
>
> > I think thats one of the big reasons Perl get's it's "write only" reputation.
>
> I thought that honour went to APL ;-)
Funny you mention that... just last week someone interupted my
Perl evangelism with an obscure reference to APL...
I know know way too much about APL.
------------------------------
Date: Wed, 14 Jun 2000 07:09:35 +0930
From: Henry <htp@mac.com>
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <htp-A05D10.07093514062000@news.metropolis.net.au>
In article <0yt15.216$Kr1.19641@news.uswest.net>,
jerome.oneil@activeindexing.com wrote:
>> I've said it before (at least 3 times) and I'll say it again:
>>
>> NO approachable documentation ships with the standard distribution of
>> Perl.
>
> Approachable by who?
<sigh> By a newbie. Who else needs _approachable_ documentation?
> I've written in a lot of languages, and Perl
> is by far the best documented one out there.
If you _already_ know how to program, yes, there's a lot of meaty stuff
there for you to get stuck into.
But if you _don't_ already know how to program...
>> If it ain't there, it doesn't matter how good you OS skills are,
>> you won't find it.
>
> But it *is* there.
...
> So you want tutorials?
>
> perolopentut,
Nowhere to be seen.
> perlreftut,
Nope.
> perlboot,
Nup.
> perltoot,
Hey, I got that one!
> perltootc,
Nein.
> and perlthtut
Nada.
> all ship with the current distribution. Those are just part of the
> more than 30 document sections that are sitting on your hard drive
> right now.
I have 49 POD files in my POD folder. Six of the seven files you
mentioned are _not_ there.
Caveat: MacPerl is a little behind the standard track, and since I use
MacPerl to prototype my scripts before deployment onto a Linux box, it's
the dox that ship with MacPerl that I mainly use.
(Note to self: This brings up an issue of concurrency that I hadn't
considered before, and should factor into future discussions.)
If (as you say) there is a current flood of tutorials just entering the
pipeline, I look forward to checking them out - when they land on a
workstation near me.
Until then, I should probably cease and desist my advocacy on the
grounds that what I've been advocating may have already been delivered
(in part, at least).
Henry.
------------------------------
Date: Tue, 13 Jun 2000 18:08:20 GMT
From: tlars@my-deja.com
Subject: my vs. our
Message-Id: <8i5ta7$9mj$1@nnrp1.deja.com>
Can anyone explain the difference between my and our in Perl?
Thanks,
tlars
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Tue, 13 Jun 2000 15:10:04 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: my vs. our
Message-Id: <3946870C.DBB7193A@attglobal.net>
tlars@my-deja.com wrote:
>
> Can anyone explain the difference between my and our in Perl?
>
my creates a copy of the variable specific to the enclosing
block. I have never heard of a scoping element called our,
and my Perl docs contain no reference to it.
------------------------------
Date: Tue, 13 Jun 2000 19:05:29 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: my vs. our
Message-Id: <39498339.11227933@news.skynet.be>
tlars@my-deja.com wrote:
>Can anyone explain the difference between my and our in Perl?
It's the difference between lexical and global variables. See the docs
on "What's the difference between dynamic and lexical (static) scoping?
Between local() and my()?" in perlfaq7.
our() is pretty new. It's effect is the same as "use vars qw(VARNAME)",
or no declaration if not using strict.
The memory storage of lexical (my'ed) variables, and global variables,
are totally different. Global variables are stored in a typeglob, some
kind of record (in Pascal lingo) containing all global variables ofthe
same name: scalar, array, hash, filehandle, sub, etc. You can access the
typeglobs through a hash, called a "stash" (Symbol Table hASH -- one per
package), which all have two colons at the end of their name. So %foo
and $foo and @foo are all stored in the same typeglob.
foreach my $name (sort keys %main::) {
print "$name\n";
}
The stashes contain all global variables. local() *temporarily* saves
and clears a global variable; it will be restored at the end of that
block.
Lexical variables are limited to scalar, array or hash, and are stored
per variable type, not as a typeglob. There is no connection between my
$foo and my %foo. They're not accessible from the outside world
(=outside the current mlock), unless you explicitely pass a reference to
one.
--
Bart.
------------------------------
Date: Tue, 13 Jun 2000 15:33:54 -0400
From: Young <no_email@no_email.com>
Subject: need quick regexp help!
Message-Id: <39468CA2.1711D54A@no_email.com>
$info2 = "BEGINstart aldsf asdflj end end2 end3FINISH";
$info2 =~ s/start.*end//g;
print $info2;
I get "BEGIN3FINISH" but what I want is:
"BEGIN end2 end3FINISH"
In other words, I want to remove every string beginning with 'start' and
ending with 'end', but I don't want any occurrences of 'end' within the
removed strings.
How do I do it? Thanks in advance!
Young
------------------------------
Date: Tue, 13 Jun 2000 13:04:51 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: need quick regexp help!
Message-Id: <Pine.GSO.4.10.10006131303500.18837-100000@user2.teleport.com>
On Tue, 13 Jun 2000, Young wrote:
> In other words, I want to remove every string beginning with 'start'
> and ending with 'end', but I don't want any occurrences of 'end'
> within the removed strings.
You probably want minimal matching. It's documented in the perlre manpage.
Good luck with it!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 13 Jun 2000 12:57:35 -0700
From: "Lauren Smith" <lauren_smith13@hotmail.com>
Subject: Re: need quick regexp help!
Message-Id: <8i63m5$6rg$1@brokaw.wa.com>
Young <no_email@no_email.com> wrote in message
news:39468CA2.1711D54A@no_email.com...
> $info2 = "BEGINstart aldsf asdflj end end2 end3FINISH";
> $info2 =~ s/start.*end//g;
>
> print $info2;
>
> I get "BEGIN3FINISH" but what I want is:
>
> "BEGIN end2 end3FINISH"
>
> In other words, I want to remove every string beginning with 'start' and
> ending with 'end', but I don't want any occurrences of 'end' within the
> removed strings.
You need to be less greedy.
$info2 =~ s/start.*?end//g;
See perlre for more on greediness.
Lauren
------------------------------
Date: Tue, 13 Jun 2000 13:04:31 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: need quick regexp help!
Message-Id: <MPG.13b033ab924f733598ab6b@nntp.hpl.hp.com>
In article <39468CA2.1711D54A@no_email.com> on Tue, 13 Jun 2000 15:33:54
-0400, Young <no_email@no_email.com> says...
> $info2 = "BEGINstart aldsf asdflj end end2 end3FINISH";
> $info2 =~ s/start.*end//g;
>
> print $info2;
>
> I get "BEGIN3FINISH" but what I want is:
>
> "BEGIN end2 end3FINISH"
>
> In other words, I want to remove every string beginning with 'start' and
> ending with 'end', but I don't want any occurrences of 'end' within the
> removed strings.
>
> How do I do it? Thanks in advance!
Use 'non-greedy' (abstemious? :-) matching.
$info2 =~ s/start.*?end//g;
I copied your /g on that, but is there really more than one occurrence
per string? If not, leave it off.
Normally, I would now say
perldoc perlre
But having just disparaged that as a tutorial, I refer you to the Web
for a regex tutorial. This general tutorial has gotten good reviews,
and isn't restricted to Win32, despite its name:
<URL:http://www.netcat.co.uk/rob/perl/win32perltut.html>
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Tue, 13 Jun 2000 16:40:30 -0400
From: "tlynch" <tlynch@leading.net>
Subject: newby hex question
Message-Id: <8_w15.72$ai.40526@news1.atlantic.net>
I am trying to build an assembler in perl
The way my program currently works, all memory address are initially in base
10. I need to convert this number to hex and concantinate it with an
opcode.
So say I had opcode = 48
Memory address = 4096
I'd like to turn this into $Text_record = 481000
I don't know how to convert that 4096 (base 10) to 1000 (base 16).
Any suggestion please email me (tlynch@leading.net) because my ISP's mail
server is unreliable.
Thanks a lot,
-tl
------------------------------
Date: Tue, 13 Jun 2000 14:07:57 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: newby hex question
Message-Id: <MPG.13b042866f9aac7998ab6c@nntp.hpl.hp.com>
[Posted and a courtesy copy mailed.]
In article <8_w15.72$ai.40526@news1.atlantic.net> on Tue, 13 Jun 2000
16:40:30 -0400, tlynch <tlynch@leading.net> says...
> I am trying to build an assembler in perl
More power to you! Perl (that's the name of the language; perl is the
implementation of the language; see perlfaq1) should be a good match for
that.
> The way my program currently works, all memory address are initially in base
> 10. I need to convert this number to hex and concantinate it with an
> opcode.
>
> So say I had opcode = 48
> Memory address = 4096
>
> I'd like to turn this into $Text_record = 481000
>
> I don't know how to convert that 4096 (base 10) to 1000 (base 16).
perldoc -f sprintf
And pay particular attention to the 'x' or 'X' format.
> Any suggestion please email me (tlynch@leading.net) because my ISP's mail
> server is unreliable.
Sure, as you asked so nicely and didn't munge your email address.
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: 13 Jun 2000 19:54:05 GMT
From: nj_kanda@alcor.concordia.ca (Neil Kandalgaonkar)
Subject: Re: Perl + web history (was: Re: ANSI Perl: No Way !!!)
Message-Id: <8i63gt$4k8$1@newsflash.concordia.ca>
In article <B56B9B77.60D6%elaine@chaos.wustl.edu>,
Elaine Ashton <elaine@chaos.wustl.edu> wrote:
>in article 8i4ebs$7da$1@newsflash.concordia.ca, Neil Kandalgaonkar at
>nj_kanda@alcor.concordia.ca quoth:
>Thanks :) Release 2.0 should be up by next week. It's funny that you
>mention them as I've been bumping into them while taking a stroll
>down memory lane with the P5P archives lately.
It's a bit frightening how hard it is to find supposedly simple information
like the date of ASP's introduction. Who knows, maybe in 10 years, certain
companies will be actually claiming to have invented the internet, rather
than merely implying it. And they won't be lying; everyone there will
genuinely believe it.
>> Why write tools for idiots anyway? That's MS's job, to give them
>> little wizards and crap to put up a personal page in 10 seconds
>> flat, never mind the question of what to write.
>
>Because maybe my mother would like a page or my 96 year old grandmother
>who probably doesn't care about the net but would like to have a page
>detailing this months bridge scores and the game schedule. Maybe Perl
>is the right tool for that...
I assume you mean that perl is the right tool to write some other tool.
(??)
Perhaps I should rephrase; your grandmother doesn't need a tool that
*treats* her like an idiot. I am very much for computers as a tool for
the non-geek; but I find both paradigms, the CLI and the GUI, severely
lacking. A CLI offers creativity because one can combine tools in n! ways.
A GUI offers ease of use since its functions are more easily discoverable
and recognizable. However, it is somewhat lacking in its ability to
combine tools for creativity; you are usually reduced to selecting prefab
choices.
>I don't really care about MS other than the fact that they get the idea
>that the ratio of geeks v. non-geeks is significant enough to warrant
>GUI IDEs for the hoi polloi. I don't necessarily love the idea of
>'Visual Perl and Python' but giving the populace something better than
>MS Frontpage, Dreamweaver, etc. cannot be all bad.
>
>[...]
>
>Take that and a generally
>hostile Perl community attitude towards CGI and its programmers, it really
>doesn't look promising for Perl being used on the low or high end.
I don't primarily regard Perl as being in competition with FrontPage!
Anyway, I think you are rather overestimating the "hostility" and its
overall impact. c.l.p.misc regularly answers CGI questions; EFNet-#perl
doesn't. Dick Hardt didn't ask anyone's permission before launching the
Visual Perl project, which is how it's supposed to be with open source.
--
Neil Kandalgaonkar
neil@brevity.org
------------------------------
Date: Tue, 13 Jun 2000 15:03:48 -0500
From: "Craig Geiger" <gruven@mindspring.com>
Subject: Perl and MM Flash
Message-Id: <skd16vdiis434@corp.supernews.com>
Forgive me for such a simple question, but I have a Perl script that gets
called by a Flash movie. The Flash movie sends variables using POST (or it
could be via GET method) to a Perl script. The Perl script is simple, reads
and parses the variables, dumps them into a piece of email, and sends it.
My question is this, is it possible to execute the script without ever
leaving the Flash movie (running in the browser window). Right now, all I
can get to work is that the Flash movie calls the Perl script into a new
window and prints some 'thank you we received your comments bla bla bla'
HTML, which works, but is somewhat redundant and obtuse. It would be great
if the Perl script was executed and the user never got a new window and left
the Flash movie. Thanks for the advice,
------------------------------
Date: Tue, 13 Jun 2000 12:45:31 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: PGP::GPG::MessageProcessor + IO::Handle woes...
Message-Id: <Pine.GSO.4.10.10006131243530.18837-100000@user2.teleport.com>
On Mon, 12 Jun 2000, Mathew A. Hennessy wrote:
> Not having much fun trying to write a wrapper around a central
> password repository using P::G::M.. Code below:
Your code was too complex, alas. Try something simpler - during
development of this part of the code, replace the external program with
something simpler, like /bin/cat, and see what it takes to get it working.
Once that's working, you'll have a simpler time converting it to work with
the other program. Good luck with it!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
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 V9 Issue 3346
**************************************