[24451] in Perl-Users-Digest
Perl-Users Digest, Issue: 6634 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 31 18:05:42 2004
Date: Mon, 31 May 2004 15: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 Mon, 31 May 2004 Volume: 10 Number: 6634
Today's topics:
Re: Am I a programmer or a scripter? (krakle)
Re: Am I a programmer or a scripter? (Walter Roberson)
Re: Am I a programmer or a scripter? <tadmc@augustmail.com>
Re: Am I a programmer or a scripter? (Anno Siegel)
Re: Am I a programmer or a scripter? <postmaster@castleamber.com>
Re: Beginner needs help with script :) <norfernuman@yahoo.com>
Re: Beginner needs help with script :) <norfernuman@yahoo.com>
Re: Beginner needs help with script :) <tadmc@augustmail.com>
Re: Beginner needs help with script :) <tadmc@augustmail.com>
Re: Beginner needs help with script :) <tadmc@augustmail.com>
Re: Beginner needs help with script :) <tadmc@augustmail.com>
Re: Beginner needs help with script :) <tadmc@augustmail.com>
Re: Beginner needs help with script :) <flavell@ph.gla.ac.uk>
Re: Compiling Perl GD on AIX 4.3.3 <FirstName.LastName@PWGSC.GC.CA>
Re: Cookies (krakle)
Re: Cookies <noreply@gunnar.cc>
Re: Cookies <daveharney@wi.rr.com>
Re: Cookies <noreply@gunnar.cc>
Re: decode_entities possible bug? <rbell01824@earthlink.net>
Re: decode_entities possible bug? <gnari@simnet.is>
Re: Perl work? (krakle)
Re: Perl work? (krakle)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 31 May 2004 11:44:11 -0700
From: krakle@visto.com (krakle)
Subject: Re: Am I a programmer or a scripter?
Message-Id: <237aaff8.0405311044.449ed953@posting.google.com>
Mothra <mothra@mothra.com> wrote in message news:<QHGsc.16109363$Id.2673543@news.easynews.com>...
> Semantic question here: what's the difference between a script and a
> program? At what stage can you call your Perl script a program for
> example? And at what stage can you call yourself a Perl programmer?
>
> I encounter some snobbery from time to time with programmers telling me
> that what I'm doing is "just scripting", whereas the stuff they write
> (in Java, ColdFusion, C++ etc) is "real programming".
>
> Well yes, I'm a lowly Sys Admin, and I've only been using Perl for about
> 3 years, but I've written some big and complex "scripts" in Perl to
> solve Sys Admin-type problems.
>
> So is there a real difference, or is it just semantic snobbery?
Well a lot of folks consider an interputed language scripting and a
language that needs to be compiled programming. Whatever floats your
boat.
------------------------------
Date: 31 May 2004 19:10:30 GMT
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Subject: Re: Am I a programmer or a scripter?
Message-Id: <c9fvv6$203$1@canopus.cc.umanitoba.ca>
In article <237aaff8.0405311044.449ed953@posting.google.com>,
krakle <krakle@visto.com> wrote:
:Well a lot of folks consider an interputed language scripting and a
:language that needs to be compiled programming.
Yet you never (or rarely) hear of "LISP scripting" or even of
"FORTH scripting".
--
Scintillate, scintillate, globule vivific
Fain would I fathom thy nature specific.
Loftily poised on ether capacious
Strongly resembling a gem carbonaceous. -- Anon
------------------------------
Date: Mon, 31 May 2004 14:20:40 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Am I a programmer or a scripter?
Message-Id: <slrncbn1c8.h80.tadmc@magna.augustmail.com>
krakle <krakle@visto.com> wrote:
> Well a lot of folks consider an interputed language scripting and a
> language that needs to be compiled programming.
Perl is compiled.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 31 May 2004 20:51:04 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: Am I a programmer or a scripter?
Message-Id: <c9g5ro$qr0$3@mamenchi.zrz.TU-Berlin.DE>
Tad McClellan <tadmc@augustmail.com> wrote in comp.lang.perl.misc:
> krakle <krakle@visto.com> wrote:
>
> > Well a lot of folks consider an interputed language scripting and a
> > language that needs to be compiled programming.
>
>
> Perl is compiled.
...and interputed!
Anno
------------------------------
Date: Mon, 31 May 2004 15:55:52 -0500
From: John Bokma <postmaster@castleamber.com>
Subject: Re: Am I a programmer or a scripter?
Message-Id: <40bb9bd8$0$199$58c7af7e@news.kabelfoon.nl>
Anno Siegel wrote:
> Tad McClellan <tadmc@augustmail.com> wrote in comp.lang.perl.misc:
>
>>krakle <krakle@visto.com> wrote:
>>
>>
>>>Well a lot of folks consider an interputed language scripting and a
>>>language that needs to be compiled programming.
>>
>>
>>Perl is compiled.
>
> ...and interputed!
So we are script programmers :-D. We should be paid extra since we do
two things at the same time ;-)
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced Perl programmer available: http://castleamber.com/
------------------------------
Date: Mon, 31 May 2004 18:14:50 GMT
From: norfernuman <norfernuman@yahoo.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <uCKuc.76736$c13.70237@newssvr25.news.prodigy.com>
Player wrote:
...
> HOWEVER what has happened since that first post, is nothing short of
> systematic group attempt at trying to humiliate and belittle me in front of
> thousand of other readers.
Dude, when I saw your first reply I just shook my head and thought, oh
man what an idiot. I have not been checking out these groups for too
long either. The first time I thought I needed some help with setting up
my .vimrc file, I went to comp.editors I did no research on my own prior
to posting, I did pretty much everything I could have done wrong. And
then I met Sven Guckes, he gave me a mild butt toasting of a flame and I
fired back, not as much as an idiot as you did mind you, but I was not
happy with his flaming me. He came back and roasted me and I was fuming!
But he also posted a link to what you should know before posting...
(I can't find the link right now, sorry. Perhaps some will post a good one)
I read it, it explained ALLOT to me and I went back and posted an
apology. He was SO nice to me after that, and when I ACTUALLY need help.
He and the others there are happy to help. Remember these people own you
NOTHING!!! If you just read this forum for a few weeks you'll see others
like yourself do what you did and perhaps you become enlighten. (or not
- I.E.: krakle)
Remember, no one owes you jack'.
Google it first, look in a book, do your homework, DON'T WHINE when
someone who knows a TON more than you do about what ever group your
looking for answers in tells you your being a dink.
Have you ever had a programmer for a manager? The folks at this group
are as sweet as your grandma compared to that. Programmers don't mess
around blowing sunshine up your butt. Try some humility and learn from
these folks. Or... shut up and step off. I mean that in the most
constructive way. :-)
- NN
------------------------------
Date: Mon, 31 May 2004 18:23:03 GMT
From: norfernuman <norfernuman@yahoo.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <bKKuc.2510$883.1584@newssvr27.news.prodigy.com>
norfernuman wrote:
> Player wrote:
> ...
>
>> HOWEVER what has happened since that first post, is nothing short of
>> systematic group attempt at trying to humiliate and belittle me in
>> front of
>> thousand of other readers.
> But he also posted a link to what you should know before posting...
> (I can't find the link right now, sorry. Perhaps some will post a good one)
>
Found it:
http://www.catb.org/~esr/faqs/smart-questions.html
------------------------------
Date: Mon, 31 May 2004 14:08:32 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbn0lg.h80.tadmc@magna.augustmail.com>
Player <notachance@inhell.com> wrote:
> What I classed as being rude, was and is what any normal person would
> class,as, 'being rude' in an everyday situation.
This is not an everyday situation!
This is Usenet.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 31 May 2004 14:09:26 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbn0n6.h80.tadmc@magna.augustmail.com>
Player <notachance@inhell.com> wrote:
> And you have the nerv to call me a troll.
If you stop acting like a troll, then folks will not call you a troll.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 31 May 2004 14:12:02 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbn0s2.h80.tadmc@magna.augustmail.com>
Player <notachance@inhell.com> wrote:
> No I pay my isp for the privilege of being able to access these groups.
Then be rude to your ISP, not to us.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 31 May 2004 14:14:29 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbn10l.h80.tadmc@magna.augustmail.com>
Player <notachance@inhell.com> wrote:
> "Scott Bryce" <sbryce@scottbryce.com> wrote in message
> news:10bmj7dop8kv415@corp.supernews.com...
>> Player wrote:
>>
>> > I don't like being bullied
>>
>> You weren't being bullied. You were given good advice.
>
> At first, yes you're quite correct, But unfortunately I didn't see it at
> that time, and thought the person was being crass and bullish. I said I have
> realised that now.
>
> HOWEVER what has happened since that first post, is nothing short of
> systematic group attempt at trying to humiliate and belittle me in front of
> thousand of other readers.
That was all in response to your subsequent followups.
You reap what you sow.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 31 May 2004 14:16:17 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbn141.h80.tadmc@magna.augustmail.com>
norfernuman <norfernuman@yahoo.com> wrote:
> Found it:
> http://www.catb.org/~esr/faqs/smart-questions.html
It is included in the Posting Guidelines that are posted
here twice a week.
Anyone who looked for it would have found it.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 31 May 2004 22:41:41 +0100
From: "Alan J. Flavell" <flavell@ph.gla.ac.uk>
Subject: Re: Beginner needs help with script :)
Message-Id: <Pine.LNX.4.53.0405312234520.31165@ppepc56.ph.gla.ac.uk>
On Mon, 31 May 2004, Gunnar Hjalmarsson exposes to all and sundry
that:
> Player wrote:
> > "Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote in message
> >>
> >> Seems to me that the subject line already told us as much as we
> >> needed to know about the questioner and its attitude to posting
> >> guidelines.
> >
> > So basically Alan J Flavell what your saying is that a beginner
> > shouldn't come to these forums and post a question about perl AT
> > ALL?
>
> That's of course not what Alan meant.
Indeed. Newcomers are entirely welcome, but, as with any community,
it's helpful if they acquaint themselves with the local customs first.
Or, as the usenet saying has it, "lurk before you leap".
> He objected to the subject line,
> which indisputably is useless as a description of the nature of your
> problem. The posting guidelines for this newsgroup
>
> http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
Just so. But subsequent developments have vindicated my initial
hunch, I think it's fair to say.
Usenet helps those who give some impression that they're willing to
make a bit of an effort themselves. It's often helped me, and I'm
keen to repay that debt. But I'm no fan of leeches.
------------------------------
Date: Mon, 31 May 2004 16:03:41 -0400
From: "PWGSC/TPSGC" <FirstName.LastName@PWGSC.GC.CA>
Subject: Re: Compiling Perl GD on AIX 4.3.3
Message-Id: <c9g36i$ebh1@shark.pwgsc.gc.ca>
I found the problem I was having. I was getting my FreeType
(freetype-2.0.1.0 ) from www.bullfreeware.com. Unfortunately, this does not
include the header file ft2build.h which gd requires in order to
successfully compile. Once I got my FreeType (freetype.2.1.8.tar.Z) from
http://aixpdslib.seas.ucla.edu/ the compiling went fine. I was able to
compile gd v2.0.25 and Perl module GD v2.12.
"PWGSC/TPSGC" <FirstName.LastName@PWGSC.GC.CA> wrote in message
news:c97esr$auv37@shark.pwgsc.gc.ca...
> Has anyone successfully compiled Lincoln Stein's Perl GD module on AIX
> 4.3.3? I have tried both the IBM C compiler and gcc.
>
>
------------------------------
Date: 31 May 2004 11:40:56 -0700
From: krakle@visto.com (krakle)
Subject: Re: Cookies
Message-Id: <237aaff8.0405311040.467cd8f3@posting.google.com>
"dave h" <daveharney@wi.rr.com> wrote in message news:<7Dxuc.16401$to.3143@twister.rdc-kc.rr.com>...
> Hi, I'm unable to get cookies working on my IIS 6 Server and IE6 browser.
And the Perl problem is? Cookies are off topic to this newsgroup and
not welcomed here. You shall be warned further by everyone else....
------------------------------
Date: Mon, 31 May 2004 22:00:08 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Cookies
Message-Id: <2i1hhmFi0jmqU1@uni-berlin.de>
krakle wrote:
> dave h wrote:
>> Hi, I'm unable to get cookies working on my IIS 6 Server and IE6
>> browser.
>
> And the Perl problem is? Cookies are off topic to this newsgroup
To many people's surprise, you are almost correct this time. At least,
an in-depth discussion on how to make use of cookies would be off
topic.
However, the OP in this thread has written a Perl program using a
couple of CPAN modules, and since he had reasons to fear that the Perl
code was incorrect, he did have a (perceived) Perl problem. The fact
that the answer leads to a non-Perl cause of the problem is
irrelevant, as long as the OP does not persist in lengthy off topic
discussions or pullutes multiple threads with meaningless comments.
But we have no reasons to believe that he would, have we?
> and not welcomed here. You shall be warned further by everyone
> else....
B.S.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Mon, 31 May 2004 16:38:21 -0500
From: "dave h" <daveharney@wi.rr.com>
Subject: Re: Cookies
Message-Id: <sANuc.19765$to.16789@twister.rdc-kc.rr.com>
Thanks Gunnar and sorry if I offended anyone with my question. I've worked
with cookies quite a bit with VB-ASP technology and never had this type of
issue so I assumed it was more of a perl coding question. I appreciate the
time you have taken to help me.
Dave H.
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:2i0oesFg3a8lU1@uni-berlin.de...
> [ Please type your reply below the quoted part of the message you are
> replying to. ]
>
> dave h wrote:
> > Gunnar Hjalmarsson wrote:
> >> dave h wrote:
> >>> Any ideas on what is wrong with either my approach or the
> >>> syntax for creating the cookie?
> >>
> >> You are trying to set it via SSI. See:
> >>
> >>
http://groups.google.com/groups?selm=67550059482efeed121446f370a19ac1%40news.teranews.com
> >>
> >> The cookie will probably be set if you call the CGI script once
> >> directly from the browser.
> >
> > Thanks for the insight. However, the only perl cgi programming
> > I've ever done is via SSI. Can you give me a small example of how
> > to call the CGI script directly from the browser?
>
> Just type the URL to the CGI script in your browser's address bar. Or
> click this link:
>
> http://localhost/perl1/CookieScript.pl
>
> :)
>
> --
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
>
------------------------------
Date: Mon, 31 May 2004 23:51:05 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Cookies
Message-Id: <2i1o1sFhudurU1@uni-berlin.de>
dave h wrote:
> Thanks Gunnar and sorry if I offended anyone with my question.
You're welcome, and there is absolutely no reason for you to apologize
for asking the question.
> I've worked with cookies quite a bit with VB-ASP technology and
> never had this type of issue so I assumed it was more of a perl
> coding question.
I was made aware of this SSI restriction only a few weeks ago through
Randal's post.
Hope this is sufficient help so that you can complete whatever you are
doing. If not, i.e. if you would want to further discuss the design of
your web app, comp.infosystems.www.authoring.cgi may be a more
suitable newsgroup.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Mon, 31 May 2004 20:48:57 GMT
From: Richard Bell <rbell01824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <40BB9A36.1030200@earthlink.net>
Bill wrote:
>>>>
>>> He's using HTML::Entities to decode unicode for a bullet, and it does
>>> not seem to work well. Perl support for Unicode over Ā is still
>>> in the works for some modules.
>>>
>>
>> Thanks Bill. Is there another more appropriate choice?
>
>
> Why should you have to decode this anyway? On my system, even decoded,
> it will not display correctly outside of the browser. Why not leave it
> as is?
>
Without going into overmuch detail, for my purposes (not display, but
rather analysis of content) the undecoded characters get royally in the
way. I assume something along the lines of s/&#([0..9]){1,4}/ / will
turn them all into ' ' but had hoped for something a bit better as there
is some useful semantics amongst the rubble.
R
------------------------------
Date: Mon, 31 May 2004 21:14:30 -0000
From: "gnari" <gnari@simnet.is>
Subject: Re: decode_entities possible bug?
Message-Id: <c9g74g$qqu$1@news.simnet.is>
[removed non-existing comp.lang.perl from Newsgroups: line]
"Richard Bell" <rbell01824@earthlink.net> wrote in message
news:40BB9A36.1030200@earthlink.net...
> I assume something along the lines of s/&#([0..9]){1,4}/ / will
> turn them all into ' ' but had hoped for something a bit better as there
> is some useful semantics amongst the rubble.
you want the terminating ';' too
s/&#[0-9]+;/ /
and if i remember correctly, they can be in hex too (ኬ)
s/&#x?[0-9a-f]+;/ /i
gnari
------------------------------
Date: 31 May 2004 11:30:26 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl work?
Message-Id: <237aaff8.0405311030.32f2ca69@posting.google.com>
Peter Hickman <peter@semantico.com> wrote in message news:<40b4c100$0$2273$afc38c87@news.easynet.co.uk>...
> krakle wrote:
> > Do you know what sarcasm is?
>
> Yes. I also know what bigotry is.
>
> Making a racist slur and then trying to pass it off as some form of humor will not get you off the hook. Maybe you are a sensible person who just happens to spout bullshit but I am
> not giving you the benefit of the doubt. There are too many assholes out there for me to bother getting to know the 'real you'.
Racial Slur? I think not.
------------------------------
Date: 31 May 2004 11:32:14 -0700
From: krakle@visto.com (krakle)
Subject: Re: Perl work?
Message-Id: <237aaff8.0405311032.73b84f37@posting.google.com>
Charlton Wilbur <cwilbur@mithril.chromatico.net> wrote in message news:<87aczvzpt7.fsf@mithril.chromatico.net>...
> >>>>> "moron" == krakle <krakle@visto.com> writes:
>
> moron> Eric Bohlman <ebohlman@earthlink.net> wrote in message
> moron> news:<Xns94F46CBE74DAebohlmanomsdevcom@130.133.1.4>...
> >> And obversely, an American who was making $2000/year in 1904
> >> could be expected to have a similar background to an American
> >> making $40K/year in 2004.
>
> moron> Oh yea indeed but you are leaving out one thing.... THIS is
> moron> 2004 NOT 1904. NO there isn't people making $2,000 a year
> moron> today who can afford a morgage, living expenses, computer
> moron> and the education to get the programming knowledge taking
> moron> away your job hah...
> But there are places in the world -- indeed, the vast majority of the
> people in the world live in such places -- where $5000 a year is quite
> a respectable income.
Wasn't this about $2,000 a year though? You more than doubled the
argueable amount.
> And the existence of the global Internet means
> that such people, who are thrilled to work for $8 an hour, can sell
> their services to American corporations, who are likewise thrilled to
> pay someone in China or Africa or India $8 an hour to do something
> they'd have to pay someone local $40 an hour to do.
And I will agree with you. However, I believe they were talking about
$2/hour not $8 an hour as a low ball figure.
------------------------------
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 6634
***************************************