[15908] in Perl-Users-Digest
Perl-Users Digest, Issue: 3321 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jun 11 14:05:28 2000
Date: Sun, 11 Jun 2000 11:05:14 -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: <960746714-v9-i3321@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Sun, 11 Jun 2000 Volume: 9 Number: 3321
Today's topics:
Re: ActivePerl on PWS <gellyfish@gellyfish.com>
Re: ANSI Perl: No Way !!! <derek@ooc.com.au>
Re: ANSI Perl: No Way !!! (brian d foy)
Re: ANSI Perl: No Way !!! <godzilla@stomp.stomp.tokyo>
Re: ANSI Perl: No Way !!! <dave@dave.org.uk>
Re: ANSI Perl: No Way !!! <godzilla@stomp.stomp.tokyo>
Re: ANSI Perl: No Way !!! <flavell@mail.cern.ch>
Re: ANSI Perl: No Way !!! <godzilla@stomp.stomp.tokyo>
Re: ANSI Perl: No Way !!! <elaine@chaos.wustl.edu>
Re: ANSI Perl: No Way !!! <dave@dave.org.uk>
Re: ANSI Perl: No Way !!! <thoren@southern-division.com>
Re: ANSI Perl: No Way !!! <godzilla@stomp.stomp.tokyo>
Re: ANSI Perl: No Way !!! (Philip 'Yes, that's my address' Newton)
Re: ANSI Perl: No Way !!! (Douglas Wilson)
Re: ANSI Perl: No Way !!! <marcel@codewerk.com>
Re: ANSI Perl: No Way !!! <godzilla@stomp.stomp.tokyo>
Does Perl have a simple way to simulate C's "#INCLUDE"? <trevor@trevorsky.com>
Re: Does Perl have a simple way to simulate C's "#INCLU <carvdawg@patriot.net>
Re: Does Perl have a simple way to simulate C's "#INCLU <trevor@trevorsky.com>
Re: Encrypting / decrypting. <bkennedy99@home.com>
Re: Encrypting / decrypting. <godzilla@stomp.stomp.tokyo>
Re: Finding repeated words -- e.g. the the (Tad McClellan)
Re: form sensitive chars (Clinton A. Pierce)
Re: form sensitive chars <flavell@mail.cern.ch>
Help with chr() function michaeljgardner@my-deja.com
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 11 Jun 2000 13:08:54 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: ActivePerl on PWS
Message-Id: <8hvvgm$o7a$1@orpheus.gellyfish.com>
On Sun, 11 Jun 2000 05:27:41 GMT jason wrote:
> dammit32@my-deja.com writes ..
>>I have access to an Unix server with Perl but I like to write and test
>>my scripts offline on my Windows 98 PC. Problem is, the ActivePerl
>>documentation only tells you how to set it up for IIS and isn't
>>specific concerning Personal Web Server (PWS). I have PWS4 and if
>>anyone could help me I'd greatly appreciate it.
>
> the configuration for PWS4 will be almost identical to the configuration
> for IIS4 .. read the config for that - substite a few words in for IIS
> specific things
>
> basically .. everything should start making sense once you're at the
> config screen which is at
>
> Start > Programs > something_to_do_with_pws_admin
>
> I think you might be able to right-click on the PWS icon to get to the
> config screen as well
>
I dont think so - better to ask in comp.infosystems.www.servers.ms-windows
than to guess.
/J\
--
** This space reserved for venue sponsor for yapc::Europe **
<http://www.yapc.org/Europe/>
------------------------------
Date: Sun, 11 Jun 2000 23:05:27 +1000
From: Derek Thomson <derek@ooc.com.au>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <39438E97.7455867E@ooc.com.au>
Bart Latter wrote:
>
> Godzilla! wrote:
>
> >My personal viewpoint is, Perl 5 has been developed to
> >counter a market share being grabbed by other languages,
> >such as Java and Microsoft's Active Server Programming.
>
> Perl 5 is a lready 5 years old. It predates Windows95, Java, ASP, ansd
> even Bill Gates' believe in internet. I don't see how Perl could, in any
> way, be an attempt at a response to those.
>
> --
> Bart.
Has it ever occurred to anyone that Goodzilla! might be a 'bot? No one
could be so evidently interested in Perl and make such a simple factual
error.
Look at the way the same phrases are reassembled over and over again,
whether or not they make sense.
Most damning is the sheer volume of these ravings. That's usually a big
hint that you've been "had", as it were. There was something very
similar spamming a Java(tm) group not long ago.
So, let's reverse engineer it. It seems biased towards phrases like
"mule manure", "Perl professionals", "Socratic <noun>". It also likes to
make threatening references to its dark and scary past, and to threaten
people individually when it is wrong.
Let's see if the responses remain true to form ...
--
Regards,
Derek
------------------------------
Date: Sun, 11 Jun 2000 09:58:32 -0500
From: brian@smithrenaud.com (brian d foy)
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <brian-1106000958330001@109.sanjose-08-09rs16rt.ca.dial-access.att.net>
In article <394329E9.FB66C7AB@stomp.stomp.tokyo>, "Godzilla!" <godzilla@stomp.stomp.tokyo> wrote:
> Over the years,
>I've only come across a few Perl experts whom I consider
>to be decent people per my unrealistic high standards,
>
>Joseph Hall
>Aaron Weiss
>Selena Sol
>
>If I had it my way, Selena Sol would be in charge
>of Perl, in charge of its future direction, not so
>much its hard coding. She knows what she is doing
>and displays no ego problems.
um, Selena Sol is definately not a female, and certainly not
a Perl expert.
--
brian d foy
Perl Mongers <URI:http://www.perl.org>
CGI MetaFAQ
<URI:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
------------------------------
Date: Sun, 11 Jun 2000 07:36:04 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943A3D4.F7E52A6F@stomp.stomp.tokyo>
Derek Thomson wrote:
> Bart Latter wrote:
> > Godzilla! wrote:
That's it boy? The best intellectual responses
with which you can come up, are childish personal
insults and name calling?
Heh!
Yeah, I would say that's about all you can get up.
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 15:38:54 +0100
From: Dave Cross <dave@dave.org.uk>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <6v87ks0181g18c334927ju4hb2mtnfduq8@4ax.com>
On Sat, 10 Jun 2000 22:55:53 -0700, "Godzilla!"
<godzilla@stomp.stomp.tokyo> wrote:
>I've only come across a few Perl experts whom I consider
>to be decent people per my unrealistic high standards,
>
>Joseph Hall
>Aaron Weiss
>Selena Sol
>
>If I had it my way, Selena Sol would be in charge
>of Perl, in charge of its future direction, not so
>much its hard coding. She knows what she is doing
>and displays no ego problems. She is down-to-earth
>and lacking those qualities inherent to a snob.
Er... you _do_ know that Selena Sol is, in fact, a man called Eric
Tachibana[1] - and, judging by his public scripts, his Perl skills are
not exactly top of the class.
Dave...
[1] See <http://www.extropia.com/employees.html>
--
<http://www.dave.org.uk> SMS: sms@dave.org.uk
yapc::Europe - London, 22 - 24 Sep <http://www.yapc.org/Europe/>
"There ain't half been some clever bastards" - Ian Dury [RIP]
------------------------------
Date: Sun, 11 Jun 2000 08:04:23 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943AA77.A916423F@stomp.stomp.tokyo>
Dave Cross wrote:
> On Sat, 10 Jun 2000 22:55:53 -0700, "Godzilla!"
> <godzilla@stomp.stomp.tokyo> wrote:
> Er... you _do_ know that Selena Sol is, in fact, a man
> called Eric Tachibana[1] - and, judging by his public
> scripts, his Perl skills are not exactly top of the class.
I mentioned Socratic Irony right off.
This method works well, yes? So far,
just in this article thread only, I've
caught two sucker fish, hook, line
and sinker.
You boys constantly claim me to be a moron?
Shoot, I show you my bait right up front
and you still take it.
What credentials do you hold to qualify as
a judge of others scripts? Mr. Tachibana,
as CEO and team leader of rather successful
Extropia, is well qualified to judge and
comment on script quality.
So, lets see your credentials qualifying
you as more than just a casual critic of
a dead television show hostess.
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 17:06:36 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <Pine.GHP.4.21.0006111652250.17249-100000@hpplus01.cern.ch>
On Sun, 11 Jun 2000, Dave Cross wrote:
> On Sat, 10 Jun 2000 22:55:53 -0700, "Godzilla!"
> <godzilla@stomp.stomp.tokyo> wrote:
> >If I had it my way, Selena Sol would be in charge
> >of Perl, in charge of its future direction, not so
> >much its hard coding. She knows what she is doing
Hiarious. Only getting to see gems like that when one of the regulars
gets trolled into quoting them is, I suppose, one of the penalties of
killfiling the troll, but I'm content to live with that.
> Er... you _do_ know that Selena Sol is, in fact, a man called Eric
> Tachibana[1] -
> [1] See <http://www.extropia.com/employees.html>
It's basically Los Angeles written backwards, right?
So, here's their tutorial which, by implication, the troll is
recommending to us.
Perl 5 is the latest version in an ongoing evolution of the Perl
language. The Perl 5 interpreter and language were
released a few years ago to replace and upgrade the existing Perl 4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
that had become the staple of many web developers.
By and large, as of 1998, most Internet Service Providers and systems
administrators around the web have upgraded to
Perl 5 so it should be available to you for web programming. If it
^^^^^
has not been loaded onto your local system, you should
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^
direct your systems administrator to get the interpreter from
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
http://www.perl.com/.
Perl 5 introduces a host of new features that are allowing Perl
developers to keep pace with the demands of modern-day
web applications development.
[...]
There are an incredible number of modules out there for you to use at
archives such as CPAN. In fact, the best way to
go about practicing using modules is to go out and find some that you
need. The fact is that there is probably a Perl
module already written for all of the simple to complex tasks you
will need for 98% of your projects. You needn't write the
code yourself cause it has already been written!
Good advice, indeed.
------------------------------
Date: Sun, 11 Jun 2000 08:23:59 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943AF0F.650B8631@stomp.stomp.tokyo>
"Alan J. Flavell" wrote:
> On Sun, 11 Jun 2000, Dave Cross wrote:
> > On Sat, 10 Jun 2000 22:55:53 -0700, "Godzilla!"
> > <godzilla@stomp.stomp.tokyo> wrote:
> It's basically Los Angeles written backwards, right?
Well I'll be. At least one person is paying attention.
> ... The fact is that there is probably a Perl
> module already written for all of the simple to
> complex tasks you will need for 98% of your projects.
> You needn't write the code yourself cause it has
> already been written!
Otherwords, you don't need to be a programmer
to copy and paste together a Perl 5 script.
*rolls eyes*
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 15:33:26 GMT
From: Elaine Ashton <elaine@chaos.wustl.edu>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <B5692989.5F04%elaine@chaos.wustl.edu>
in article 6v87ks0181g18c334927ju4hb2mtnfduq8@4ax.com, Dave Cross at
dave@dave.org.uk quoth:
> Er... you _do_ know that Selena Sol is, in fact, a man called Eric
> Tachibana[1] - and, judging by his public scripts, his Perl skills are
> not exactly top of the class.
What I am beginning to find interesting is the number of men who take on
female names and characters around the Perl community. It's interesting as
I've not seen it anywhere else though admittedly I've not looked that hard.
I wonder what Freud would have to say...
e.
------------------------------
Date: Sun, 11 Jun 2000 16:58:43 +0100
From: Dave Cross <dave@dave.org.uk>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <igd7ks83e9omdcigf52nlsrmhp2sn4ala7@4ax.com>
On Sun, 11 Jun 2000 08:04:23 -0700, "Godzilla!"
<godzilla@stomp.stomp.tokyo> wrote:
>What credentials do you hold to qualify as
>a judge of others scripts? Mr. Tachibana,
>as CEO and team leader of rather successful
>Extropia, is well qualified to judge and
>comment on script quality.
'successful' ne 'expert' as Bill Gates admirably demonstrates.
>So, lets see your credentials qualifying
>you as more than just a casual critic of
>a dead television show hostess.
My credentials as a minor part of the Perl community are very easy to
track down, but if you're interested there's a lot of code at
<http://www.mag-sol.com/Download.shtml>, some articles at
<http://www.perlmonth.com>, my involvement with london.pm at
<http://london.pm.org> and a forthcoming book at
<http://www.manning.con/cross/>.
Now, would you care to be so open with _your_ credentials?
Dave...
--
<http://www.dave.org.uk> SMS: sms@dave.org.uk
yapc::Europe - London, 22 - 24 Sep <http://www.yapc.org/Europe/>
"There ain't half been some clever bastards" - Ian Dury [RIP]
------------------------------
Date: Sun, 11 Jun 2000 18:12:54 +0200
From: "Thoren Johne" <thoren@southern-division.com>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <8i0dri$b14$18$2@news.t-online.com>
Elaine Ashton <elaine@chaos.wustl.edu> wrote in message
news:B5692989.5F04%elaine@chaos.wustl.edu...
> What I am beginning to find interesting is the number of men who take on
> female names and characters around the Perl community. It's interesting as
> I've not seen it anywhere else though admittedly I've not looked that
hard.
> I wonder what Freud would have to say...
perhaps that female perl trolls prefer to use male names? ;)
gruß
thoren
8#X
--
----------------------------------------------------------------------
Thoren Johne - 8#X - thoren@southern-division.com
Southern Division Classic Bikes - www.southern-division.com
------------------------------
Date: Sun, 11 Jun 2000 09:31:03 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943BEC7.53008CD6@stomp.stomp.tokyo>
Dave Cross wrote:
> On Sun, 11 Jun 2000 08:04:23 -0700, "Godzilla!"
> <godzilla@stomp.stomp.tokyo> wrote:
> 'successful' ne 'expert' as Bill Gates admirably demonstrates.
This is a large and ugly can of worms. He is clearly
extremely successful being in command of virtually
all things computer related. Successful as a programmer,
well, a discussion of this notion would be to venture
into unanswerable questions. Clearly he is or was a
brilliant programmer; his success is evidence. Beyond
this comment, I would venture no further.
> My credentials as a minor part of the Perl community are very
> easy to track down, but if you're interested there's a lot of
> code at
> <http://www.mag-sol.com/Download.shtml>, some articles at
> <http://www.perlmonth.com>, my involvement with london.pm at
> <http://london.pm.org> and a forthcoming book at
> <http://www.manning.con/cross/>.
I have examined your works many times and commend you
for your efforts above and beyond the usual.
> Now, would you care to be so open with _your_ credentials?
I need no credentials. I never critique scripts
of others. I know my part and play it well. This
is to say, I mind my own business lest I make a
fool of myself by stepping beyond the limits of
my knowledge and dubious authority.
Evidence of my behavior on this is well in hand
via articles in which I have clearly stated it
would be inappropriate of me to critique code
of others as each person has his or her own
personalized style of programming, which is
to be respected, at all times.
So you see Mr. Cross, I do not place myself in
a position of being asked for my credentials;
I do not critique code of others. I do lend
help when asked and will point out problems
under requested circumstances. However, I never
jump in uninvited and critique code of others.
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 16:55:51 GMT
From: nospam.newton@gmx.li (Philip 'Yes, that's my address' Newton)
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943c237.17625913@news.nikoma.de>
On Sun, 11 Jun 2000 15:33:26 GMT, Elaine Ashton <elaine@chaos.wustl.edu>
wrote:
> What I am beginning to find interesting is the number of men who take on
> female names and characters around the Perl community.
What other example are there? The only one I know is the well-known
first-name-only person.
Cheers,
Philip
--
Philip Newton <nospam.newton@gmx.li>
If you're not part of the solution, you're part of the precipitate.
------------------------------
Date: Sun, 11 Jun 2000 17:47:41 GMT
From: dwilson@gtemail.net (Douglas Wilson)
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943d843.2312046@news>
On Sun, 11 Jun 2000 09:31:03 -0700, "Godzilla!" <godzilla@stomp.stomp.tokyo>
wrote:
>I mind my own business lest I make a
>fool of myself by stepping beyond the limits of
>my knowledge and dubious authority.
ROTFLMAO. UR funny, in a sick and twisted way,
and an expert troll. I am not so expert since I am
actually responding to you :)
These bits are entertaining, much like the Alaskan
Electrician episodes awhile back, but they DO detract
from the usefulness of this newsgroup.
>Perl should be a diplomatic
>language for us to speak to each other, in very
>civilized ways.
We're ready when you are...
Cheers,
Douglas Wilson
------------------------------
Date: Sun, 11 Jun 2000 17:51:37 GMT
From: Marcel Grunauer <marcel@codewerk.com>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <Pine.LNX.4.21.0006111954280.31079-100000@codewerk.com>
On Sun, 11 Jun 2000, Godzilla! wrote:
> Dave Cross wrote:
>
> > On Sat, 10 Jun 2000 22:55:53 -0700, "Godzilla!"
> > <godzilla@stomp.stomp.tokyo> wrote:
>
> > Er... you _do_ know that Selena Sol is, in fact, a man
> > called Eric Tachibana[1] - and, judging by his public
> > scripts, his Perl skills are not exactly top of the class.
>
>
> I mentioned Socratic Irony right off.
> This method works well, yes? So far,
> just in this article thread only, I've
> caught two sucker fish, hook, line
> and sinker.
>
> You boys constantly claim me to be a moron?
> Shoot, I show you my bait right up front
> and you still take it.
No offense, but, fscked in the head, right?
(Sorry for feeding the troll. Oh well, time to get acquainted with Pine's
scoring methods...)
--
Marcel
sub AUTOLOAD{print substr($AUTOLOAD,6).' '} Just(),Another(),Perl(),Hacker();
------------------------------
Date: Sun, 11 Jun 2000 10:57:40 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: ANSI Perl: No Way !!!
Message-Id: <3943D314.59CFBA79@stomp.stomp.tokyo>
Douglas Wilson wrote:
> On Sun, 11 Jun 2000 09:31:03 -0700, "Godzilla!"
I will, as with others, ask you to not troll and
harass me. A troll and harasser like yourself,
is of no benefit to a newsgroup. You only serve
to disrupt this newsgroup and deliberately cause
most unwarranted problems via your trolling
and harassment of people. Please stop, now.
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 09:35:42 -0700
From: "Trevor Sky Garside" <trevor@trevorsky.com>
Subject: Does Perl have a simple way to simulate C's "#INCLUDE"?
Message-Id: <1cP05.14594$v_.852985@nntp2.onemain.com>
I am now at the point where I need to break my script into multiple files to
make it more maintainable. I'd like to just have one main script that does
something similar to a #INCLUDE in C. I have been fiddling with the do()
routine, but have been largely unsuccessful - the subroutines I declare in
the "do" files come up as not being declared.
Thanks for any help.
- - - - - - - - - - - - - - - - - - - - - -
Trevor Sky Garside trevor@trevorsky.com
- - - - - - - - - - - - - - - - - - - - - -
"If there's anything more important than my
ego around here, I want it found and shot."
-- Zaphod Beeblebrox
- - - - - - - - - - - - - - - - - - - - - -
------------------------------
Date: Sun, 11 Jun 2000 13:16:22 -0400
From: H C <carvdawg@patriot.net>
Subject: Re: Does Perl have a simple way to simulate C's "#INCLUDE"?
Message-Id: <3943C966.643C9439@patriot.net>
"use" or "require"
Trevor Sky Garside wrote:
> I am now at the point where I need to break my script into multiple files to
> make it more maintainable. I'd like to just have one main script that does
> something similar to a #INCLUDE in C. I have been fiddling with the do()
> routine, but have been largely unsuccessful - the subroutines I declare in
> the "do" files come up as not being declared.
>
> Thanks for any help.
>
> - - - - - - - - - - - - - - - - - - - - - -
> Trevor Sky Garside trevor@trevorsky.com
> - - - - - - - - - - - - - - - - - - - - - -
> "If there's anything more important than my
> ego around here, I want it found and shot."
> -- Zaphod Beeblebrox
> - - - - - - - - - - - - - - - - - - - - - -
------------------------------
Date: Sun, 11 Jun 2000 10:39:38 -0700
From: "Trevor Sky Garside" <trevor@trevorsky.com>
Subject: Re: Does Perl have a simple way to simulate C's "#INCLUDE"?
Message-Id: <Q7Q05.15960$bH5.926697@nntp1.onemain.com>
I now have partial success using "require", however I would like to have a
"global" hash available to all subroutines - even those inclluded in the
"require"'d files. What I am finding is that each file is using its own
namespace. How can I make it so that Perl treats all the files as though it
was one long script?
--Trevor
"H C" <carvdawg@patriot.net> wrote in message
news:3943C966.643C9439@patriot.net...
> "use" or "require"
>
> Trevor Sky Garside wrote:
>
> > I am now at the point where I need to break my script into multiple
files to
> > make it more maintainable. I'd like to just have one main script that
does
> > something similar to a #INCLUDE in C. I have been fiddling with the
do()
> > routine, but have been largely unsuccessful - the subroutines I declare
in
> > the "do" files come up as not being declared.
> >
> > Thanks for any help.
> >
> > - - - - - - - - - - - - - - - - - - - - - -
> > Trevor Sky Garside trevor@trevorsky.com
> > - - - - - - - - - - - - - - - - - - - - - -
> > "If there's anything more important than my
> > ego around here, I want it found and shot."
> > -- Zaphod Beeblebrox
> > - - - - - - - - - - - - - - - - - - - - - -
>
------------------------------
Date: Sun, 11 Jun 2000 15:26:09 GMT
From: "Ben Kennedy" <bkennedy99@home.com>
Subject: Re: Encrypting / decrypting.
Message-Id: <lcO05.249382$Tn4.2254740@news1.rdc2.pa.home.com>
"Brad Baxter" <bmb@ginger.libs.uga.edu> wrote in message
news:Pine.A41.4.21.0006102042530.12492-100000@ginger.libs.uga.edu...
> On Sat, 10 Jun 2000, Ben Kennedy wrote:
>
> > If me trying to open up an honest dialog about the nature of your posts
is
> > 'trolling and harassing', then you have a strange definition of those
words.
>
> The troll doesn't bother with rational thought.
>
> > Why don't you respond to my post again and actually read it and consider
its
> > points. Or, send me a message directly, which is probably best for this
> > group. I am not accusing you of anything, I (and most people) just want
to
> > discuss the issue since there is clearly a 'situation' and we should all
at
> > least be able to agree that its bad.
>
> The troll doesn't want to discuss any issue except trollself.
Considering the inflammatory "ANSI Perl 5" thread brewing above, I'm
starting to believe that Godzilla! is in fact an obnoxious malicious troll,
not some confused misguided troll which I would have liked to believe. Oh
well.
--Ben Kennedy
------------------------------
Date: Sun, 11 Jun 2000 08:45:02 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: Encrypting / decrypting.
Message-Id: <3943B3FE.A9154B0C@stomp.stomp.tokyo>
Ben Kennedy wrote:
> "Brad Baxter" <bmb@ginger.libs.uga.edu> wrote in message
> news:Pine.A41.4.21.0006102042530.12492-100000@ginger.libs.uga.edu...
> > On Sat, 10 Jun 2000, Ben Kennedy wrote:
I will ask you for a second and last time to
stop trolling and harassing me. People, such
as yourself, who troll and harass others within
a newsgroup, are usually not well welcomed.
Godzilla!
------------------------------
Date: Sun, 11 Jun 2000 11:25:26 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Finding repeated words -- e.g. the the
Message-Id: <slrn8k7br6.56k.tadmc@magna.metronet.com>
On Sun, 11 Jun 2000 07:02:49 GMT, jason <elephant@squirrelgroup.com> wrote:
>OBrien-Malone writes ..
>>I'm new to Perl, but I would like to use it (or perhaps AWK with which
>>I am much more familiar) to find
>>repeated words in a TeX document. I mean the simple typing errors where
>>I would have typed "See the the figure on ..."
>>Of course the repeated words might be split over lines.
>>
>>Can anyone see an easy (Reg Exp) way of doing this?
>
> s/(\w+\s+)\1/$1/g;
>
>however .. I should warn you that this will remove valid english as well
You need some word boundaries in there.
$_ = 'bathe the camel';
becomes 'bathe camel'...
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 11 Jun 2000 16:06:36 GMT
From: clintp@geeksalad.org (Clinton A. Pierce)
Subject: Re: form sensitive chars
Message-Id: <gOO05.105341$h01.843768@news1.rdc1.mi.home.com>
[Posted and mailed]
In article <8hv2p8$l5k$1@slb1.atl.mindspring.net>,
"Junk" <junk@niftygear.com> writes:
> I'm working on a perl/cgi script that processes form data,
> in some cases I'm creating a link like:
> <a href="/download/somefile.zip"></a>
> but on some circumstances this file is named something like:
> somefile&that.zip
>
> How do I convert that to something the server understands,
> I've seen that an & gets converted to %26 but I dont understand
> how.
>
> I'm guessing I need to do the oposite of this?
> $key =~ s/%([A-Fa-f0-9]{2})/pack("c",hex($1))/ge;
In the CGi module, look at the unescape function. perldoc CGI
--
Clinton A. Pierce Teach Yourself Perl in 24 Hours!
clintp@geeksalad.org for details see http://www.geeksalad.org
"If you rush a Miracle Man,
you get rotten Miracles." --Miracle Max, The Princess Bride
------------------------------
Date: Sun, 11 Jun 2000 19:05:33 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: form sensitive chars
Message-Id: <Pine.GHP.4.21.0006111835010.17249-100000@hpplus01.cern.ch>
On Sat, 10 Jun 2000, Junk wrote:
> I'm working on a perl/cgi script that processes form data,
> in some cases I'm creating a link like:
> <a href="/download/somefile.zip"></a>
> but on some circumstances this file is named something like:
> somefile&that.zip
> How do I convert that to something the server understands,
I'd recommend that your first priority is to understand what you're
doing.
> I've seen that an & gets converted to %26 but I dont understand
> how.
It's rather simple to grab the nearest tool and use it to beat the
apparent problem into the ground, but that basically gets you no
further forward, and runs the risk of leaving you with misconceptions
that will get you into trouble later[1]. Once you understand what's
going on underneath, the use of the tool will be obvious.
So review the specified data coding that is used when a form is
submitted. It's described in the HTML specification, or you could
try one or other of the available tutorials, Jukka's overview at
http://www.hut.fi/u/jkorpela/forms/ should give you a wide selection
depending on your taste in documentation. Try e.g
http://www.stud.ifi.uio.no/~lmariusg/download/artikler/HTTP_tut.html#script
under "Submitting forms".
None of these details are Perl language issues, indeed.
[1]The ampersand is a particular stumbling block, because in some
contexts (i.e when the ampersand is part of the data) it must be
URL-encoded into its %26 form, whereas in another context (where the
ampersand is serving as the delimiter between parameter=value pairs in
a form submission) the HREF= value must be formed by HTML-encoding it
into & or & . You need to understand how and why this is so,
or you're sure to get into problems.
------------------------------
Date: Sun, 11 Jun 2000 17:50:01 GMT
From: michaeljgardner@my-deja.com
Subject: Help with chr() function
Message-Id: <8i0jg6$nv5$1@nnrp1.deja.com>
I'm trying to write binary file sizes to a dbf file. My perl program
is using the chr() function. For some reason it does not return the
same ascii characters as my other programs. chr(10) returns either a
blank or a carriage return from perl, while my other programs, dbase
included return something that looks like a small circle.
Are there two different ascii character sets, or am I not using the
function correctly?
Thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
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 3321
**************************************