[24449] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 6632 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 31 11:05:46 2004

Date: Mon, 31 May 2004 08: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: 6632

Today's topics:
    Re: (?{ ... }) puzzlement <jkrugman345@yahbitoo.com>
    Re: Beginner needs help with script :) <matthew.garrish@sympatico.ca>
    Re: Beginner needs help with script :) <matthew.garrish@sympatico.ca>
    Re: Beginner needs help with script :) <tadmc@augustmail.com>
    Re: Beginner needs help with script :) <notachance@inhell.com>
    Re: Beginner needs help with script :) <notachance@inhell.com>
    Re: Beginner needs help with script :) <tadmc@augustmail.com>
    Re: Beginner needs help with script :) <notachance@inhell.com>
    Re: Beginner needs help with script :) <noreply@gunnar.cc>
    Re: Beginner needs help with script :) <1usa@llenroc.ude>
    Re: Beginner needs help with script :) <notachance@inhell.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 :) <notachance@inhell.com>
    Re: Beginner needs help with script :) <notachance@inhell.com>
    Re: decode_entities possible bug? <rbell001824@earthlink.net>
    Re: decode_entities possible bug? <rbell001824@earthlink.net>
    Re: decode_entities possible bug? <rbell001824@earthlink.net>
    Re: decode_entities possible bug? <rbell01824@earthlink.net>
    Re: decode_entities possible bug? <rbell01824@earthlink.net>
    Re: decode_entities possible bug? <wherrera@lynxview.com>
        Removing HTML tags: is there a Perl-equivalent to PHP ' (Francesco Moi)
    Re: splitting cvs file and insert in mysql via DBI <tadmc@augustmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Mon, 31 May 2004 14:04:28 +0000 (UTC)
From: J Krugman <jkrugman345@yahbitoo.com>
Subject: Re: (?{ ... }) puzzlement
Message-Id: <c9fe1c$i5p$1@reader2.panix.com>

In <c9fabj$8bg$1@wisteria.csv.warwick.ac.uk> Ben Morrow <usenet@morrow.me.uk> writes:


>Quoth J Krugman <jkrugman345@yahbitoo.com>:
>>
>> In an attempt to find a single regexp that would succeed if three
>> different sub-regexps matched in any order (see why in the thread
>> called '"Commutative" regexps'), I started playing with (?{...})-type
>> regexps.  As warm-up, I tried this:
>> 
>>      1  use strict;
>>      2  use re 'eval';
>>      3  
>>      4  my @re0  = qw(abc pqr xyz);
>>      5  my @seen = (undef) x @re0;
>>      6  my @re   = map sprintf('%s(?{ $seen[%d] ||= "@-" })',
>>      7                         $re0[$_], $_),
>>      8                 0..$#re0;

>@- only contains entries for () sub-expressions. You have none here
>(that have matched yet), so it won't work. (My guess is that the first
>entry isn't filled in until after the match has finished, but I don't
>rightly know...)

I get the same results (i.e. %seen never gets initialized) if I
change line 6 to

      6  my @re   = map sprintf('(%s)(?{ $seen[%d] ||= "@-" })',



>Try something more like (completely untested):

>my @pats = qw/abc pqr xyx/;
>my %seen;
>my $re = join '|', map { 
>    qr/(\Q$_\E) (?{ $seen{$_} = 1 }) (?!)/x
>} @pats;

>'__pqr__xyz__pqr__abc__' =~ /$re/;

>$, = $\ = "\n"
>print keys %seen;

OK, tried it (and many variants); no luck.  I now think that ?{
 ... } is not the way to go; too complicated (and/or buggy) for me.



>> P.S.  Unrelated regexp question:  if I have a string or regexp in
>> a variable $x, and I want to use this variable to write a regexp
>> corresponding to 5 repeats of the contents of $x, how do I write
>> it? If I wrote /$x{5}/, it would be interpreted by perl as attempting
>> to access the value corresponding to key '5' in the hash %x.

>Try /(?:$x){5}/.

Thanks!

jill



-- 
To  s&e^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.



------------------------------

Date: Mon, 31 May 2004 08:58:16 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Beginner needs help with script :)
Message-Id: <DZFuc.6544$Hn.267769@news20.bellglobal.com>


"Player" <notachance@inhell.com> wrote in message
news:c9f3vl$dk6$1@newsg2.svr.pol.co.uk...
>
> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> news:2i0hglFhh1agU1@uni-berlin.de...
> >
> > Don't post the same question in different messages to multiple
newsgroups!
> >
> >
>
> Its a legitimate question posted in two appropriate news groups.
> There is nothing wrong with that what-so-ever, as I am subscribed to both
> news groups and the news groups in questions are both there to offer help
> and advice on perl.

That's your own logic. It doesn't hold true for Usenet, though. If you want
to post to multiple groups, include them all in one message. That way people
don't have to waste time answering your question in one group when it's
already been answered in another.

Matt




------------------------------

Date: Mon, 31 May 2004 09:04:25 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Beginner needs help with script :)
Message-Id: <o3Guc.6549$Hn.268848@news20.bellglobal.com>


"Player" <notachance@inhell.com> wrote in message
news:c9f6sv$v9g$1@newsg4.svr.pol.co.uk...
>
> I don't take kindly to people telling me, "DON'T" one something I pay
money
> to gain access to, especially when those people are not in any position of
> authority were my money heads to.
>

This is not a helpdesk. That you think you have a right to do whatever you
like because you pay for nntp access is a joke and turns my stomach. What do
you think everyone else here is doing? We're not here to answer your
questions.

Matt




------------------------------

Date: Mon, 31 May 2004 08:33:42 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbmd1m.fb2.tadmc@magna.augustmail.com>

Player <notachance@inhell.com> wrote:
> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> news:2i0hglFhh1agU1@uni-berlin.de...


>> Don't post the same question in different messages to multiple newsgroups!


[ snip quoted signature, you are not supposed to quote them you know ]


> So what-ever- got up your nose, isn't worth the effort of those few lines
> you wrote, 


That is obvious now, seeing as you are sure that you know more about
netiquette than Gunnar does.

But when Gunnar wrote it, it was worthwhile, as rude people get killfiled
and if you had a better attitude you could have avoided some killfiling
by following his advice ...


> So take your bullying tactics else were they are not appreciated here, 
                                                   ^^^^^^^^^^^^^^^^^^^^
                                                   ^^^^^^^^^^^^^^^^^^^^

So you have been reading this newsgroup for a long time now and
know what is expected and appreciated here?

Or are you just making stuff up?


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


------------------------------

Date: Mon, 31 May 2004 14:57:32 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9fdkc$9el$1@newsg3.svr.pol.co.uk>


"Tad McClellan" <tadmc@augustmail.com> wrote in message
news:slrncbmd1m.fb2.tadmc@magna.augustmail.com...
> Player <notachance@inhell.com> wrote:
> > "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> > news:2i0hglFhh1agU1@uni-berlin.de...
>
>
> >> Don't post the same question in different messages to multiple
newsgroups!
>
>
> [ snip quoted signature, you are not supposed to quote them you know ]
>
>
> > So what-ever- got up your nose, isn't worth the effort of those few
lines
> > you wrote,
>
>
> That is obvious now, seeing as you are sure that you know more about
> netiquette than Gunnar does.
>
> But when Gunnar wrote it, it was worthwhile, as rude people get killfiled
> and if you had a better attitude you could have avoided some killfiling
> by following his advice ...
>
>
> > So take your bullying tactics else were they are not appreciated here,
>                                                    ^^^^^^^^^^^^^^^^^^^^
>                                                    ^^^^^^^^^^^^^^^^^^^^
>
> So you have been reading this newsgroup for a long time now and
> know what is expected and appreciated here?
>
> Or are you just making stuff up?

'Here'  as in, myself.
That was quit obvious, and what springs to mind to me, is that your simply
making crap up yourself in order prolong this outright attack on my person
in the hope I might rise to your baited attacks., and in so doing, entertain
you in some way.
It's not me who is carrying on the ranting, it's you lot.
And yes every single you reply with obnoxious comments, I will fire them
right back at you again, two fold.
Player

>
>
> -- 
>     Tad McClellan                          SGML consulting
>     tadmc@augustmail.com                   Perl programming
>     Fort Worth, Texas




------------------------------

Date: Mon, 31 May 2004 15:04:12 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9fe0s$li1$1@newsg2.svr.pol.co.uk>


"Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote in message
news:Pine.LNX.4.53.0405311251320.30551@ppepc56.ph.gla.ac.uk...
> On Mon, 31 May 2004, Gunnar Hjalmarsson reveals to discerning readers
> that:
>
> > Player wrote:
> > >
> > > Its a legitimate question posted in two appropriate news groups.
> >
> > I did not claim otherwise.
>
> 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.
>
> > <rambling snipped>
>
> Indeed!

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?

Because the subject line of my original post, has absolutely nothing wrong
with it. It line states that I am a beginner and that I need help with a
perl script, just as no doubt thousands of other people have come into this
and other perl groups before looking for help.

What got up your particular nose hmm? Is that I am a beginner? or is that I
have the audacity to use the news group for its was created for in the first
place hmmm?

Please explain to me in detail what the hell is wrong with a beginner coming
to a perl news group seeking help with a script?
Because I would really like to no.

Player




------------------------------

Date: Mon, 31 May 2004 09:01:19 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbmelf.fgt.tadmc@magna.augustmail.com>

Player <notachance@inhell.com> wrote:


> No its quit obviously not rude at all.


If you are new to Usenet then you cannot possibly know what is
seen as rude and what is not.

You are making stuff up to justify your mistake.

That is big of you.


> I don't like being bullied, its as simple that, 


You were not being bullied.

You took cuts in line.

Gunnar said don't take cuts in line.

You responded that you paid to enter the theme park and that you
will not wait in line.

Everybody else paid to enter too, yet you claim that you have
some special privilege over everyone else?

Ludicrous!



   In article <1995Nov9.193745.13694@netlabs.com>, lwall@netlabs.com 
   (Larry Wall) wrote: ...

    [snip]  I view a programming language as a place to be
    explored, like Disneyland. You don't need to have a lot of preparation
    to explore a theme park.  You do have to go along with the crowd
    control measures, though.  In a sense, each ride has its own
    prerequisites--if you cut in line, you risk getting tossed out of the
    park.
   
    What we have here in this newsgroup is a failure in crowd control.
    Reading the FAQ is like staying in line--it's something you should
    learn in kindergarten.  Usenet needs a better kindergarten.


> and as I am new to news
> groups in general, 


You seem to claim expertise in what is acceptable in newsgroups though.

How do you justify such a position when you have just gotten here?


> I am hardly going to no every single detail of what-ever
> bunch of in-house-secret-guidelines people have made up over the years.


If you take cuts in line people will not like you.

If people do not like you, they are not likely to help you.

Do you want your questions to be answered or ignored? You choose.



The rudeness of multi-posting and full-quoting are neither secret
nor in-house. They apply universally to all of the big-8 newsgroups.


> But in the end I would still say that telling someone 'DON'T in these
> circumstances, is asking form trouble.


Sometimes we don't want to take the time to explain the reason
why you should wait in line, so we just caution you against
taking cuts.

If you follow the caution, you'll get more answers.

If you don't you won't.

You get to choose.


> The appropriate response in most cases to such a statement, would be, "I Beg
> your pardon? are some sort of authority figure here?"


I Beg your pardon? are some sort of authority figure here?

Gunnar had been posting here for a long time.

You just got here.

Who is more likely to know what is socially acceptable and what is not?



The killfile is most certainly the Right Place for you.

So long.

-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


------------------------------

Date: Mon, 31 May 2004 15:27:53 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9ffd9$mko$1@newsg2.svr.pol.co.uk>


"Matt Garrish" <matthew.garrish@sympatico.ca> wrote in message
news:o3Guc.6549$Hn.268848@news20.bellglobal.com...
>
> "Player" <notachance@inhell.com> wrote in message
> news:c9f6sv$v9g$1@newsg4.svr.pol.co.uk...
> >
> > I don't take kindly to people telling me, "DON'T" one something I pay
> money
> > to gain access to, especially when those people are not in any position
of
> > authority were my money heads to.
> >
>
> This is not a helpdesk. That you think you have a right to do whatever you
> like because you pay for nntp access is a joke and turns my stomach. What
do
> you think everyone else here is doing? We're not here to answer your
> questions.
>
> Matt
>
>

Erma if I so chose, I could post 459,000 posts in each news group, and do it
legally, this is not some private club, it is an open news group on the
Internet. Obviously I wouldn't and don't do such things as post that many
times, but my point is valid, this isn't a private club, people can and do
as they please within these walls, it's just that 99.9% of us -me included
now I read the stuff at the url- abide by a set of guidelines for the
better.
These news groups are here for people to fire questions of each and help
each other out.
Especially news groups on computer languages, that is THE PRIMARY reason for
their existence, that and getting out info on new releases and updates.
So don't sit there and tell me that me posting a question was some how
wrong, because that question happened to come from a beginner.
Because if your saying that, and I no that your trying to, then you are quit
simply -MISTAKE-

I no everyone here is not here to please me and answer my questions, BUT the
news group is here for people to fire questions of each other in the hope
that help might be given.

So don't even come that attitude with me, because it fell through the floor
as you were typing it.

Player




------------------------------

Date: Mon, 31 May 2004 16:26:06 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Beginner needs help with script :)
Message-Id: <2i0tusFd0t19U1@uni-berlin.de>

Player wrote:
> "Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote in message 
> news:Pine.LNX.4.53.0405311251320.30551@ppepc56.ph.gla.ac.uk...
>> 
>> 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. 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

include advice how to compose the subject line, and Alan was also
refering to the fact that you either have not read them, or don't
care to follow them. Whichever is the case, it's remarkable, to say
the least, considering that you claim to 'know it all'.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl



------------------------------

Date: 31 May 2004 14:42:51 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude>
Subject: Re: Beginner needs help with script :)
Message-Id: <Xns94FA6CFDCF944asu1cornelledu@132.236.56.8>

"Player" <notachance@inhell.com> wrote in
news:c9f6sv$v9g$1@newsg4.svr.pol.co.uk: 

> I don't take kindly to people telling me, "DON'T" one something I pay
> money to gain access to

Hmmm ... you are not paying anyone here.

Don't be a troll.

-- 
A. Sinan Unur
1usa@llenroc.ude (reverse each component for email address)


------------------------------

Date: Mon, 31 May 2004 15:44:10 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9fgbq$bn3$1@newsg3.svr.pol.co.uk>


"Tad McClellan" <tadmc@augustmail.com> wrote in message
news:slrncbmelf.fgt.tadmc@magna.augustmail.com...
> Player <notachance@inhell.com> wrote:
>
>
> > No its quit obviously not rude at all.
>
>
> If you are new to Usenet then you cannot possibly know what is
> seen as rude and what is not.

What I classed as being rude, was and is what any normal person would
class,as, 'being rude' in an everyday situation. If you grasp that, and
simply have to apply all my statement to your small little news group world,
then so be it. But please don't complain when you missunderstand peoples
posts and cause a conflict in the discussion/debate/argument/troll
fest/bullying/what ever.
>
> You are making stuff up to justify your mistake.
>
> That is big of you.

 Completely false, I made nothing up, and stand by every single word I have
said so far.
Other than me missunderstanding what was originaly meant by Gunnar
Hjalmarsson
I see nothing wrong what-so-ever in my responses to your obvious delight in
trying to amuse yourselves with bullying me.

>
>
> > I don't like being bullied, its as simple that,
>
>
> You were not being bullied.

Rubbish, now who is making things up hmm?
>
> You took cuts in line.

I took no cuts in line, because I didn't no that posting as a did in 2
groups was as you put it, 'cutting in line'.
>
> Gunnar said don't take cuts in line.

That is understood now, so what is your problem? or is it the case that you
haven't yet had your fill of trying to belittle someone online today hmm?
I meet your type all the time in life, your type usualy ends up in jail or
some sort of a leader of lost sheep out in the sticks somewere were you can
play your power games uninterupted.

>
> You responded that you paid to enter the theme park and that you
> will not wait in line.

I responded that I paid to be online, and in that I meant that I had a right
to be here and ask questions as much as the next person. At the time I didnt
realise what Gunnar Hjalmarsson was trying to get across and it seemed
bullyish to me, I was mistaken I have admited that now.
I said nothing of any theme park, nor did I no of any rules, or that the
news group was refered to as a theme park, at least in your heads, or that
an outsider making a simple mistake woulod be treated like an alien with
total contempt.

>
> Everybody else paid to enter too, yet you claim that you have
> some special privilege over everyone else?

No not in the slightest, thats just inj your head, so once again who is
making things up hmm?
>
> Ludicrous!

Yes quite.
Player

>
>
>
>    In article <1995Nov9.193745.13694@netlabs.com>, lwall@netlabs.com
>    (Larry Wall) wrote: ...
>
>     [snip]  I view a programming language as a place to be
>     explored, like Disneyland. You don't need to have a lot of preparation
>     to explore a theme park.  You do have to go along with the crowd
>     control measures, though.  In a sense, each ride has its own
>     prerequisites--if you cut in line, you risk getting tossed out of the
>     park.
>
>     What we have here in this newsgroup is a failure in crowd control.
>     Reading the FAQ is like staying in line--it's something you should
>     learn in kindergarten.  Usenet needs a better kindergarten.
>
>
> > and as I am new to news
> > groups in general,
>
>
> You seem to claim expertise in what is acceptable in newsgroups though.
>
> How do you justify such a position when you have just gotten here?
>
>
> > I am hardly going to no every single detail of what-ever
> > bunch of in-house-secret-guidelines people have made up over the years.
>
>
> If you take cuts in line people will not like you.
>
> If people do not like you, they are not likely to help you.
>
> Do you want your questions to be answered or ignored? You choose.
>
>
>
> The rudeness of multi-posting and full-quoting are neither secret
> nor in-house. They apply universally to all of the big-8 newsgroups.
>
>
> > But in the end I would still say that telling someone 'DON'T in these
> > circumstances, is asking form trouble.
>
>
> Sometimes we don't want to take the time to explain the reason
> why you should wait in line, so we just caution you against
> taking cuts.
>
> If you follow the caution, you'll get more answers.
>
> If you don't you won't.
>
> You get to choose.
>
>
> > The appropriate response in most cases to such a statement, would be, "I
Beg
> > your pardon? are some sort of authority figure here?"
>
>
> I Beg your pardon? are some sort of authority figure here?
>
> Gunnar had been posting here for a long time.
>
> You just got here.
>
> Who is more likely to know what is socially acceptable and what is not?
>
>
>
> The killfile is most certainly the Right Place for you.
>
> So long.
>
> -- 
>     Tad McClellan                          SGML consulting
>     tadmc@augustmail.com                   Perl programming
>     Fort Worth, Texas




------------------------------

Date: Mon, 31 May 2004 09:12:46 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbmfau.fnl.tadmc@magna.augustmail.com>

Player <notachance@inhell.com> wrote:

> And yes every single you reply with obnoxious comments, I will fire them
> right back at you again, two fold.


You are obviously a troll then.

Trolls don't get much help with their questions once identified.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


------------------------------

Date: Mon, 31 May 2004 09:37:47 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <slrncbmgpr.fnl.tadmc@magna.augustmail.com>

Player <notachance@inhell.com> wrote:
> 
> "Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote in message
> news:Pine.LNX.4.53.0405311251320.30551@ppepc56.ph.gla.ac.uk...

>> 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 is an obsurd conclusion. How did you reach it?

Alan did not say anything about posting Perl questions, he said
something about the Subject header's contents.

With logic like that, you should consider some field other than programming.


> Because the subject line of my original post, has absolutely nothing wrong
> with it. 


Says you.

But the Subject is not _for_ you, it is for the audience that you
are trying to reach.

Everyone except you thinks that there is something wrong with it.

(namely, we cannot tell what your article is about from the Subject)


> It line states that I am a beginner and that I need help with a
> perl script, 


Your question is not about being a beginner.

Your question is about how to mark the end-of-file in a Windows
command interpreter (it is not even a question about Perl).

If you were using Python or Java instead of Perl, you would mark
the eof the same way, it does not depend on your choice of
programming langauge.


> just as no doubt thousands of other people have come into this
> and other perl groups before looking for help.


So then your message is just like the other 200 that are posted here
each day. Your choice of Subject added no value whatsoever.

Nobody reads all 200. They must "filter" them somehow (by seeing
what the Subject header says).

Your Subject does not help potential answerers determine whether they
might be able to help with your subject, because they cannot tell
what your subject is.

So they will skip your article and go on to one who's author has
taken the trouble to accurately describe what it is that they
need help with.

Do you _want_ people to ignore your questions?

Sure does seem like it...


> What got up your particular nose hmm? 


You did something socially unacceptable.

You must expect some angst when you choose to be socially unacceptable,
that shouldn't be too hard to see, yet you cannot see it...


> Is that I am a beginner? 


No, it is that you were being rude.

Polite beginners get help with their problems here every day.


> Please explain to me in detail what the hell is wrong with a beginner coming
> to a perl news group seeking help with a script?


Nothing, but that is not what happened in this thread, so I wonder
why you bring it up.


> Because I would really like to no.


You are not fooling anyone with that.

On the contrary, you have displayed a remarkable _resistance_ to 
finding out what was seen as rude in your original post.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


------------------------------

Date: Mon, 31 May 2004 15:56:12 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9fh2c$jfv$1@news5.svr.pol.co.uk>

> That's of course not what Alan meant. 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
>
> include advice how to compose the subject line, and Alan was also
> refering to the fact that you either have not read them, or don't
> care to follow them. Whichever is the case, it's remarkable, to say
> the least, considering that you claim to 'know it all'.
>
> -- 
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
>

The I take it by that statement that these rules only apply to me and
certain other people then hmm?
Because just by quickly scanning through previous posts, I have counted 10
that are so titled in a similar way to mine.
And none of them get a response that tells them that they worded their
subject line wrong.

One would be
mrmikes:: newbie question, perl proxies.
Matija papecs:: strange behaviour
Michael dondies, 2 quick questions about perl6
Petterson Mikaels Beginner need help on perl issues.

I could go on and on and on.

Those titles are similar to mine, but in all the replies to their posts,
there isn't anyone telling them to not post posts with subject lines like
that because they are, in your words, 'useless.

So you see, your full of doo doo, and I put it to you that it is you who is
making things up, because otherwise, everybody else who so titled their
subject line in a similar manner to mine, would get the same ranting that
you are dishing.
BUT THEY DON'T AND HAVEN'T.

D'OH

Player




------------------------------

Date: Mon, 31 May 2004 15:58:33 +0100
From: "Player" <notachance@inhell.com>
Subject: Re: Beginner needs help with script :)
Message-Id: <c9fh6q$jjk$1@news5.svr.pol.co.uk>


"Tad McClellan" <tadmc@augustmail.com> wrote in message
news:slrncbmfau.fnl.tadmc@magna.augustmail.com...
> Player <notachance@inhell.com> wrote:
>
> > And yes every single you reply with obnoxious comments, I will fire them
> > right back at you again, two fold.
>
>
> You are obviously a troll then.

Says, you, I don't see yous topping or trying to help in anyway other than
to try and insult me.
And you have the nerv to call me a troll.
>
> Trolls don't get much help with their questions once identified.

Wht a surprise.

Player

>
>
> -- 
>     Tad McClellan                          SGML consulting
>     tadmc@augustmail.com                   Perl programming
>     Fort Worth, Texas




------------------------------

Date: Mon, 31 May 2004 14:14:47 GMT
From: Richard Bell <rbell001824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <40BB3DD6.6060901@earthlink.net>

Bob Walton wrote:
> Richard Bell wrote:
> 
>> decode_entities does not appear to decode this text
>>
>> <span class="linksep1">&#8226;</span>
>>
>> The sequence &#8226 is left untouched.
>>
>> Is this correct/expected behavior, a bug, or what?
>>
>> Thanks for any help.
>>
>> R
> 
> 
> Perhaps you could clarify what "decode_entities" is?  Is it some sub or 
> module you wrote, or part of a CPAN module?  If the latter, which one of 
> the 6000+ modules is it a method of?  Thanks.
> 

Apologies, I should have been clearer.  HTML::Entities.

R


------------------------------

Date: Mon, 31 May 2004 14:15:19 GMT
From: Richard Bell <rbell001824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <40BB3DF6.7060001@earthlink.net>

Bob Walton wrote:
> Richard Bell wrote:
> 
>> decode_entities does not appear to decode this text
>>
>> <span class="linksep1">&#8226;</span>
>>
>> The sequence &#8226 is left untouched.
>>
>> Is this correct/expected behavior, a bug, or what?
>>
>> Thanks for any help.
>>
>> R
> 
> 
> Perhaps you could clarify what "decode_entities" is?  Is it some sub or 
> module you wrote, or part of a CPAN module?  If the latter, which one of 
> the 6000+ modules is it a method of?  Thanks.
> 

Apologies, I should have been clearer.  HTML::Entities.

R


------------------------------

Date: Mon, 31 May 2004 14:15:33 GMT
From: Richard Bell <rbell001824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <40BB3E05.2010407@earthlink.net>

Bob Walton wrote:
> Richard Bell wrote:
> 
>> decode_entities does not appear to decode this text
>>
>> <span class="linksep1">&#8226;</span>
>>
>> The sequence &#8226 is left untouched.
>>
>> Is this correct/expected behavior, a bug, or what?
>>
>> Thanks for any help.
>>
>> R
> 
> 
> Perhaps you could clarify what "decode_entities" is?  Is it some sub or 
> module you wrote, or part of a CPAN module?  If the latter, which one of 
> the 6000+ modules is it a method of?  Thanks.
> 

Apologies, I should have been clearer.  HTML::Entities.

R


------------------------------

Date: Mon, 31 May 2004 14:20:57 GMT
From: Richard Bell <rbell01824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <dbHuc.24535$4A6.21480@attbi_s52>

Richard Bell wrote:
> Bob Walton wrote:
> 
>> Richard Bell wrote:
>>
>>> decode_entities does not appear to decode this text
>>>
>>> <span class="linksep1">&#8226;</span>
>>>
>>> The sequence &#8226 is left untouched.
>>>
>>> Is this correct/expected behavior, a bug, or what?
>>>
>>> Thanks for any help.
>>>
>>> R
>>
>>
>>
>> Perhaps you could clarify what "decode_entities" is?  Is it some sub 
>> or module you wrote, or part of a CPAN module?  If the latter, which 
>> one of the 6000+ modules is it a method of?  Thanks.
>>

  Apologies, I should have been clearer.  HTML::Entities.

  R


------------------------------

Date: Mon, 31 May 2004 14:27:14 GMT
From: Richard Bell <rbell01824@earthlink.net>
Subject: Re: decode_entities possible bug?
Message-Id: <40BB40C2.7040005@earthlink.net>

Bill wrote:
> Bob Walton wrote:
> 
>> Richard Bell wrote:
>>
>>> decode_entities does not appear to decode this text
>>>
>>> <span class="linksep1">&#8226;</span>
>>>
>>> The sequence &#8226 is left untouched.
>>>
>>> Is this correct/expected behavior, a bug, or what?
>>>
>>> Thanks for any help.
>>>
>>> R
>>
>>
>>
>> Perhaps you could clarify what "decode_entities" is?  Is it some sub 
>> or module you wrote, or part of a CPAN module?  If the latter, which 
>> one of the 6000+ modules is it a method of?  Thanks.
>>
> He's using HTML::Entities to decode unicode for a bullet, and it does 
> not seem to work well. Perl support for Unicode over &#256; is still in 
> the works for some modules.
> 

Thanks Bill.  Is there another more appropriate choice?

R


------------------------------

Date: Mon, 31 May 2004 08:45:16 -0600
From: Bill <wherrera@lynxview.com>
Subject: Re: decode_entities possible bug?
Message-Id: <r-ednT-wodab2CbdRVn-hw@adelphia.com>

>>>
>> He's using HTML::Entities to decode unicode for a bullet, and it does 
>> not seem to work well. Perl support for Unicode over &#256; 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?



------------------------------

Date: 31 May 2004 07:28:47 -0700
From: francescomoi@europe.com (Francesco Moi)
Subject: Removing HTML tags: is there a Perl-equivalent to PHP 'strip_tags'?
Message-Id: <5b829932.0405310628.60b86630@posting.google.com>

Hi.

I've got some HTML texts, but I want to remove HTML tags from it.
I mean, convert '<b>foo</b>' into 'foo'.

In PHP you can use 'strip_tags':
http://www.php.net/strip_tags

Is there any Perl-equivalent?

Thanks.


------------------------------

Date: Mon, 31 May 2004 08:25:29 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: splitting cvs file and insert in mysql via DBI
Message-Id: <slrncbmci9.fb2.tadmc@magna.augustmail.com>

Xaver Biton <javier@t-online.de> wrote:

> #use strict;


You lose the benefit of that if you comment it out. Do you cut
the seatbelts out of your car too?   :-)

You should enable warnings as well:

   use warnings;


>    $dbh = DBI->connect("dbi:mysql:$db:$host", "$db_user", "$db_password",
                                                ^        ^  ^            ^
                                                ^        ^  ^            ^
Useless uses of quotes. 

     $dbh = DBI->connect("dbi:mysql:$db:$host", $db_user, $db_password,


Please see this Perl FAQ:

    perldoc -q vars

       What's wrong with always quoting "$vars"?


> 	  ($name,$forename) = split(/\s+/,$name);


What will that do with names like these?

    Thorton Billy Bob

    De Larenta Oscar
    
Try it and see...


-- 
    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 6632
***************************************


home help back first fref pref prev next nref lref last post