[15970] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3382 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jun 15 21:10:45 2000

Date: Thu, 15 Jun 2000 18:10:21 -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: <961117820-v9-i3382@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Thu, 15 Jun 2000     Volume: 9 Number: 3382

Today's topics:
    Re: Crazy enough that it might just work... (Abigail)
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... (John Stanley)
    Re: Crazy enough that it might just work... (Abigail)
    Re: Crazy enough that it might just work... (Randal L. Schwartz)
    Re: Crazy enough that it might just work... (Randal L. Schwartz)
    Re: Crazy enough that it might just work... (Randal L. Schwartz)
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Crazy enough that it might just work... (Abigail)
    Re: Crazy enough that it might just work... (Tad McClellan)
    Re: Crazy enough that it might just work... <henry@penninkilampi.net>
    Re: Does anyone have some exercises? neil@pacifier.com
    Re: evaluating expressions (Eric Bohlman)
    Re: Generating an excel page by submitting a form (John McNamara)
    Re: Generating an excel page by submitting a form (John McNamara)
    Re: Help with strings <noone@nowhere.org>
    Re: How to decode binhex encoded email attachments? <henry@penninkilampi.net>
    Re: MacPerl- Back to square one. <henry@penninkilampi.net>
    Re: MacPerl- Back to square one. (Bart Lateur)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: 15 Jun 2000 18:09:21 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: Crazy enough that it might just work...
Message-Id: <slrn8kim2o.jil.abigail@alexandra.delanet.com>

Henry (henry@penninkilampi.net) wrote on MMCDLXXX September MCMXCIII in
<URL:news:henry-0AD70E.06513216062000@news.metropolis.net.au>:
!! In article <39493DD0.B4E6CF25@attglobal.net>, Drew Simonis 
!! <care227@attglobal.net> wrote:
!! 
!! > Im not sure we've clearly identified and defined a problem.  People
!! > stop posting for lots of reasons.  People get bored.  Saying that
!! > "guru's stop posting because of parasites" is not a clear 
!! > identification of a problem, because it is not based on empirical 
!! > evidence.  It is based on assumption.
!! 
!! True, but I think a very sound assumption.  Larry left because of the 
!! noise.  Tom left because of the noise.  Should we conduct a pop quiz of 
!! the resident gurus and ask them what their #1 peeve is?  How much 
!! evidence, anecdotal or otherwise, do you need?

My #1 peeve is (non-regular) people "suggesting" how to change this
group.  Most of the time it's whiners that wants regulars to be all
friendly repeatedly answering the same questions over and over again,
but as annoying are people wanting to change this group with moderation,
bots or something else.

This group has been working fine for the past 5 years. Don't change it.
If you think it can be done better, follow the way of a RFD and a CFV,
and create your comp.lang.perl.my-way-is-better. If it is, you'll get
the traffic. If it turns out not to be better, this group will still
be here.

As for "regulars", deja.com only has 39 messages by "Henry" in this
group - and a large fragment of them trying to change this group.
I wouldn't call you a regular - not by a long shot.

!! Censorship is the NORM on UseNet - at least it's the norm if you apply 
!! the dictionary definition of the word 'censor' to it.  Any group with a 
!! charter is censored, for crying out loud!

The vast majority of groups with a charter don't censor. You might not
be appreciated if you post off-topic, and get flamed to hell and back,
but you still aren't censored. And from the small number of groups
that put in some restrictions before you can post moderate. That is,
the decision on whether to let a posting through is based on *content*,
and not on the poster. Your 8 day delay for new posters smells like
"for whites only". It's not based on content; it's based on appearance.

Is a newspaper "censoring" when it puts the comics together in the
comics section, the sport in the sport section, and the ads in the
classified pages? I don't think so. Nor does it make the newspaper
less useless. But a newspaper would be pretty useless if it delayed
printing their junior reporter articles for 8 days.



Abigail
-- 
perl -Mstrict -we '$_ = "goto Q.print chop;\n=rekcaH lreP rehtona tsuJ";Q1:eval'


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

Date: Fri, 16 Jun 2000 07:49:06 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-BBE69C.07490616062000@news.metropolis.net.au>

In article <slrn8kidp9.7fo.tadmc@magna.metronet.com>, 
tadmc@metronet.com (Tad McClellan) wrote:

>> Programming groups like comp.lang.perl.misc (clpm) attract,
>> and it should be no surprise, programmers.
> 
> Yes. But Perl, in particular, has something that none of the
> other programming languages have, that make the FAQ rate
> here higher than normal.
> 
> comp.lang.perl.misc also attracts NON-programmers (folks who
> are not, and expressly do not _want_ to be programmers).
> 
> We get them because Perl is easy enough to use that you can
> get things to work without really knowing what you are doing.
> 
> The bar is set much lower here than for, say, Java or C.

D'oh!  I'd completely forgotten about the CGI clan (sweeping 
generalisation, bound to insult enormous amounts of people :^P ).

Yes, factor those in, and squish them in the left tail of the standard 
distribution curve.  They are much worse than even the parasites _I_ was 
thinking about.


> What I _do_ think is objectionable is just posting their question
> when it has already been answered (FAQs), as that does not add
> anything to the "global knowledge".

Sure, if they ask a good question, then that's worthy of a guru's time.  
It might even expose a weakness, or precipitate better documentation.  
Unfortunately, it seems, those questions are few and far between.


> While "parasites", as you have defined them, are annoying,
> they only "move up" to the truly enraging level when their
> question's answer is already on their hard disk.

"truly enraging level" - <snicker>


> >>>> We just DELAY their posts <<<
> 
> The "cure" ends up being worse than the "disease", I fear.
> 
> I doubt that I would stick around with a propogation measured in days...

I did make it clear, didn't I, that any delays only apply to the inital 
post(s)?  And that the delay would then get dropped, or wound back, 
according to some algorithm?  I'm not suggesting that every post, from 
all parties, should be delayed - _that_ would be ludicrous.


> But that is moot, as what you propose (and your other proposal too)
> is essentially a moderation scheme, and clp.misc is unmoderated.

That can always be changed.

> But it cannot be applied here.

Why not?  RFD/CFV (or whatever the acronyms are) a charter change.  
We're not _required_ to alter the name of the group to reflect its 
moderated status - that's just a guideline.


>> A neural-net deflection mechanism for parasite control! <<
> 
> Tom Phoenix cannot be duplicated in software  :-)

<snort>

Henry.


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

Date: Fri, 16 Jun 2000 08:22:21 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-AA1DDB.08222116062000@news.metropolis.net.au>

In article <slrn8kim2o.jil.abigail@alexandra.delanet.com>, 
abigail@delanet.com wrote:

> My #1 peeve is (non-regular) people "suggesting" how to change this
> group.  Most of the time it's whiners that wants regulars to be all
> friendly repeatedly answering the same questions over and over again,
> but as annoying are people wanting to change this group with moderation,
> bots or something else.
> 
> This group has been working fine for the past 5 years. Don't change it.

Thank you for your input.


> As for "regulars", deja.com only has 39 messages by "Henry" in this
> group

What, in the last month?  Suggest you use a _real_ news service.


> - and a large fragment of them trying to change this group.

If I were to scrutinise your posting history, I would probably find you 
crucifying newbies in 75% of them.  Your point?


> I wouldn't call you a regular - not by a long shot.

This is the second time I've had to say it:  I neither want nor seek 
your approval.  Your opinion (of me) is irrelevant.  I could have sworn 
we settled this last time by you *plonk*ing me in your killfile.  I 
encourage you to do so again.


> The vast majority of groups with a charter don't censor. You might not
> be appreciated if you post off-topic, and get flamed to hell and back,
> but you still aren't censored. And from the small number of groups
> that put in some restrictions before you can post moderate. That is,
> the decision on whether to let a posting through is based on *content*,
> and not on the poster. Your 8 day delay for new posters smells like
> "for whites only". It's not based on content; it's based on appearance.
> 
> Is a newspaper "censoring" when it puts the comics together in the
> comics section, the sport in the sport section, and the ads in the
> classified pages? I don't think so. Nor does it make the newspaper
> less useless. But a newspaper would be pretty useless if it delayed
> printing their junior reporter articles for 8 days.

I'm not the one who has a thing about the word 'censor'.  It was someone 
else (Drew, I think).  I don't think of UseNet as censored at all, for 
reasons I've mentioned elsewhere.  Nor do I support censorship, as 
people in my nick of the woods (Australia) view it.

Let's not lose sight of the big picture, folks.

Taking one, totally random example like, let's say, the US Constitution 
- which in spirit, if no longer the letter, entitles (if not demands) 
its citizens and the nation to take reasonable measures to defend what 
is their's from external aggressors.

Parasites are external aggressors.  It's as simple as that.  Draw the 
lines where you will.

Henry.


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

Date: Fri, 16 Jun 2000 08:43:31 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-56170D.08433116062000@news.metropolis.net.au>

In article <39494F44.110265EC@attglobal.net>, Drew Simonis 
<care227@attglobal.net> wrote:

> [Bringing a thread on ways to restrict posting over to 
>  news.admin.censorship re: a discussion in comp.lang.perl.misc
>  about ways to maintain a base of posters while restricting the posting
>  of a certain class of folks refered to as parasites.  The suggested
>  methodology was to enforce an 8 day waiting period on all new posters.
>  Extensive quoting to provide context.  Cross post for awareness in 
>  clpm]

Way to go Drew!

<parasite_example>

So, what do we do now that we're in news.admin.censorship?

I've never posted here before.  I'm an absolute newbie.  I can't be 
bothered reading the charter, or the FAQ.  Somebody just tell me the 
answer.  Now.  I don't have all day.

</parasite_example>

Henry.


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

Date: 15 Jun 2000 23:35:16 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: Crazy enough that it might just work...
Message-Id: <8ibp7k$dgt$1@news.NERO.NET>

In article <henry-8BB029.04155516062000@news.metropolis.net.au>,
Henry  <henry@penninkilampi.net> wrote:
>It's as simple as that.  We just delay their posts.
>:)
>The implementation details are mundane.

There is another word you should be aware of w.r.t. USENET. "Troll".

Troll v.t. 
	1. ...
	2. To post an incredibly stupid or moronic idea to a newsgroup 
	in the hopes of wasting everyone's time responding with why it is 
	so stupid or moronic.

>We could, for example, reject the first post attempt _outright_ - with 

Who is the "we" who is rejecting this post? 

>I think I'll stop before I get too carried away.  ;^)

Please do.

>The obvious criticism of such an approach would be that "It's going to 
>negatively impact on _all_ newbies, and unduly penalise the legitimate 
>posters."

No, that is not the obvious criticism.



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

Date: 15 Jun 2000 19:37:02 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: Crazy enough that it might just work...
Message-Id: <slrn8kir75.jil.abigail@alexandra.delanet.com>

Henry (henry@penninkilampi.net) wrote on MMCDLXXX September MCMXCIII in
<URL:news:henry-AA1DDB.08222116062000@news.metropolis.net.au>:
$$ In article <slrn8kim2o.jil.abigail@alexandra.delanet.com>, 
$$ abigail@delanet.com wrote:
$$ 
$$ > My #1 peeve is (non-regular) people "suggesting" how to change this
$$ > group.  Most of the time it's whiners that wants regulars to be all
$$ > friendly repeatedly answering the same questions over and over again,
$$ > but as annoying are people wanting to change this group with moderation,
$$ > bots or something else.
$$ > 
$$ > This group has been working fine for the past 5 years. Don't change it.
$$ 
$$ Thank you for your input.
$$ 
$$ 
$$ > As for "regulars", deja.com only has 39 messages by "Henry" in this
$$ > group
$$ 
$$ What, in the last month?

No, not in the last month. In the entire period deja.com has been
archiving.

$$                           Suggest you use a _real_ news service.

What does the newsservice I use have to do with it? (The service I use
can of course be determined from the headers.)

$$ > - and a large fragment of them trying to change this group.
$$ 
$$ If I were to scrutinise your posting history, I would probably find you 
$$ crucifying newbies in 75% of them.  Your point?

Find one post in the several thousands I made last year I flamed someone
solely based on the fact (s)he is new in this group.

You won't find any. It's always based on content.



Abigail
-- 
sub _'_{$_'_=~s/$a/$_/}map{$$_=$Z++}Y,a..z,A..X;*{($_::_=sprintf+q=%X==>"$A$Y".
"$b$r$T$u")=~s~0~O~g;map+_::_,U=>T=>L=>$Z;$_::_}=*_;sub _{print+/.*::(.*)/s}
*_'_=*{chr($b*$e)};*__=*{chr(1<<$e)};
_::_(r(e(k(c(a(H(__(l(r(e(P(__(r(e(h(t(o(n(a(__(t(us(J())))))))))))))))))))))))


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

Date: 15 Jun 2000 16:49:53 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Crazy enough that it might just work...
Message-Id: <m1n1kmwllq.fsf@halfdome.holdit.com>

>>>>> "Henry" == Henry  <henry@penninkilampi.net> writes:

Henry> There is latitude and precedence there to come up with a new
Henry> approach to solving this problem.  I see no reason why we
Henry> should adopt any existing strategy, given that they are all
Henry> proven failures.

I don't see c.l.p.moderated as a "proven failure".  It's anything but.
Heck, I've even had posts rejected from there, that would have been a
no-brainer in c.l.p.misc.

So, if clp.misc is too wild for you, unsubscribe, and stay hooked into
clp.moderated.

print "Just another Perl hacker,"

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

Date: 15 Jun 2000 16:54:41 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Crazy enough that it might just work...
Message-Id: <m1itvawldq.fsf@halfdome.holdit.com>

>>>>> "Henry" == Henry  <henry@penninkilampi.net> writes:

Henry> True, but I think a very sound assumption.  Larry left because of the 
Henry> noise.  Tom left because of the noise.  Should we conduct a pop quiz of 
Henry> the resident gurus and ask them what their #1 peeve is?  How much 
Henry> evidence, anecdotal or otherwise, do you need?

As a data point (not claiming any "guru" status here, but that
seems to be the consensus of others).

My #1 peeve is dangerous wrong information passed along either
untested or maliciously.  A bad meme travels on the net at the speed
of the "forward" button.  A good counter-meme travels only half as
fast, it seems.

Thus, for the past year or two on clpm, I've concentrated my
exceedingly more restricted time resources on just weeding out the
weeds, instead of planting a garden.  Yeah, it seems like a waste to
me, but it needs to be done, and I can do it.

There are some that seem to make it a game to suck up my time to do
that.  There are others that honestly just don't "get" the Usenet
culture as a potluck... that it's not a help desk, there's both taking
*and* giving required.  Those both sadden me, but I try not to let it
get me disconnected.

Just a data point.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

Date: 15 Jun 2000 16:57:23 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Crazy enough that it might just work...
Message-Id: <m1bt12wl98.fsf@halfdome.holdit.com>

>>>>> "Drew" == Drew Simonis <care227@attglobal.net> writes:

>> Tom Phoenix cannot be duplicated in software  :-)
>> 

Drew> I'm still awaiting proof that Tom Phoenix isn't software.

If he is, I sure wonder who it is that I'm paying each month. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

Date: Fri, 16 Jun 2000 09:53:23 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-3B2872.09532316062000@news.metropolis.net.au>

In article <m1n1kmwllq.fsf@halfdome.holdit.com>, merlyn@stonehenge.com 
(Randal L. Schwartz) wrote:

>> There is latitude and precedence there to come up with a new
>> approach to solving this problem.  I see no reason why we
>> should adopt any existing strategy, given that they are all
>> proven failures.
> 
> I don't see c.l.p.moderated as a "proven failure".  It's anything but.
> Heck, I've even had posts rejected from there, that would have been a
> no-brainer in c.l.p.misc.

I didn't mean to suggest that the moderated groups were failures.  What 
I meant to suggest was that all attempts to solve the guru/FAQ/newbie 
problem (in regular groups) have been failures.  ('All' naturally being 
confined to the limit of my UseNet experience - 9 years, and only a 
hundred and fifty or so groups.)

Mea culpa.


> So, if clp.misc is too wild for you, unsubscribe, and stay hooked into
> clp.moderated.

There's no vibe in .moderated - it's a graveyard.  .misc is the only 
place I've found, _anywhere_, which has a "lightning bolts through the 
sky"-type vibe that you can actually _feel_.

The only thing missing would be the occasional post by Larry - then it 
would be _truly_ awesome.

There's a lot there worth protecting, IMHO.

Henry.


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

Date: Fri, 16 Jun 2000 09:56:49 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-8269F0.09564916062000@news.metropolis.net.au>

In article <8ibp7k$dgt$1@news.NERO.NET>, stanley@skyking.OCE.ORST.EDU 
(John Stanley) wrote:

>> We could, for example, reject the first post attempt _outright_
> 
> Who is the "we" who is rejecting this post? 

Execution via script.  Parameters determined by group consensus.

i.e. "we".


> There is another word you should be aware of w.r.t. USENET. "Troll".

Please killfile me.  We'll both feel better.

Henry.


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

Date: 15 Jun 2000 20:40:49 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: Crazy enough that it might just work...
Message-Id: <slrn8kiuuq.kd4.abigail@alexandra.delanet.com>

Henry (henry@penninkilampi.net) wrote on MMCDLXXXI September MCMXCIII in
<URL:news:henry-3B2872.09532316062000@news.metropolis.net.au>:
$$ In article <m1n1kmwllq.fsf@halfdome.holdit.com>, merlyn@stonehenge.com 
$$ (Randal L. Schwartz) wrote:
$$ 
$$ > So, if clp.misc is too wild for you, unsubscribe, and stay hooked into
$$ > clp.moderated.
$$ 
$$ There's no vibe in .moderated - it's a graveyard.  .misc is the only 
$$ place I've found, _anywhere_, which has a "lightning bolts through the 
$$ sky"-type vibe that you can actually _feel_.
$$ 
$$ The only thing missing would be the occasional post by Larry - then it 
$$ would be _truly_ awesome.
$$ 
$$ There's a lot there worth protecting, IMHO.


So, you're happy with the group, you want to protect what there is, 
but then you suggest a drastic change in the mechanics?

That's silly.

If you think you can do better, make another group. If it's better,
people will come to your group. But don't gamble with this group.


Abigail
-- 
perl -Mstrict -we '$_ = "goto E.print chop;\n=rekcaH lreP rehtona tsuJ";E1:eval'


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

Date: Thu, 15 Jun 2000 19:43:50 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Crazy enough that it might just work...
Message-Id: <slrn8kiqhm.7qe.tadmc@magna.metronet.com>

On Thu, 15 Jun 2000 17:19:58 -0400, Drew Simonis <care227@attglobal.net> wrote:
>Tad McClellan wrote:
>> 
>> 
>> >>> A neural-net deflection mechanism for parasite control! <<
>> 
>> Tom Phoenix cannot be duplicated in software  :-)
>> 
>
>I'm still awaiting proof that Tom Phoenix isn't software.


I've seen him eat sushi.

Can a software do that?

( I *cannot* vouch for the END{} of that processing... :-)


-- 
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: Fri, 16 Jun 2000 10:33:52 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <henry-FE62E2.10335216062000@news.metropolis.net.au>

In article <slrn8kir75.jil.abigail@alexandra.delanet.com>, 
abigail@delanet.com wrote:

>>> As for "regulars", deja.com only has 39 messages by "Henry"
>>> in this group
>> 
>> What, in the last month?
> 
> No, not in the last month. In the entire period deja.com has been
> archiving.

Well, I just checked the news server run by the Australia's largest 
backbone provider, and I've posted 37 messages to this group since 
MONDAY (4 days ago).

I think it's time you stopped quoting deja.com statistics (which I've 
noticed you are fond of doing) - as they are so obviously screwed.


>> Suggest you use a _real_ news service.
> 
> What does the newsservice I use have to do with it? (The service
> I use can of course be determined from the headers.)

I was referring to deja.com.  The implication being that if you're going 
to cite news statistics, you should at least cite a source that knows 
how to count, and who's primary role is _not_ flogging cheap, nasty crap 
at inflated prices to mindless lemmings.

(It's not _your_ fault deja.com are hopeless - they just are.)


Henry.


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

Date: 15 Jun 2000 15:36:19 PST
From: neil@pacifier.com
Subject: Re: Does anyone have some exercises?
Message-Id: <39495a63.0@news.pacifier.com>

E.C.vEersel <E.C.vEersel@kub.nl> wrote:
> Good day everybody,

> A couple of days ago I decided to learn Perl. I bought a book that several 
> people advised me: Programming Perl, by Wall, Christiansen and Schwartz. The 
> book is great: clear explanation, funny and clearly arranged. The only 
> disadvantage is the fact that there aren't any exercises at the end of the 
> chapter, as in Learning Perl (it is after all more like a reference than it is 
> a tutorial).

Take a look at the _Perl Cookbook_.


-- 

Neil


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

Date: 15 Jun 2000 22:03:57 GMT
From: ebohlman@netcom.com (Eric Bohlman)
Subject: Re: evaluating expressions
Message-Id: <8ibjsd$720$5@slb6.atl.mindspring.net>

Rodney Engdahl (red_orc@my-deja.com) wrote:
: While not in the same class, I also like:
: 
: "With available anti-lock brakes"
: 
: I imagine this is easier than with unavailable anti-lock brakes . . .

There's at least one style guide floating around that states that the 
word "available" should never appear in the text of a hyperlink because 
it's automatically redundant: if the resource you were linking to weren't 
available, you wouldn't be linking to it.



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

Date: Thu, 15 Jun 2000 21:43:12 GMT
From: writeexcel@eircom.net (John McNamara)
Subject: Re: Generating an excel page by submitting a form
Message-Id: <39494907.3557102@news1.eircom.net>

Ar Tue, 13 Jun 2000 12:49:18 -0500, do scriobh "Barry Grupe"
<bg@skypoint.com>:

>#!/path/to/perl
>use Spreadsheet::WriteExcel;
>
>$filename       = "test.xls";
>#you must declare $variable as with 'my' or 'local' or it won't work
>my $variable    = Spreadsheet::WriteExcel->new("$filename");
>
>$row    = 5;
>$col    = 1;
>$string = "yo";
>$variable->write_string($row,$col, $string);

>#you must declare $variable as with 'my' or 'local' or it won't work

Actually, this will work without using my(), but not if the "use
strict" pragma is in operation.

John McNamara
-- 
Try before you die()


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

Date: Thu, 15 Jun 2000 21:43:17 GMT
From: writeexcel@eircom.net (John McNamara)
Subject: Re: Generating an excel page by submitting a form
Message-Id: <39494df4.4818210@news1.eircom.net>

Ar Tue, 13 Jun 2000 07:47:27 -0700, do scriobh Bob Rock
<bob.rockNOboSPAM@intelligencia.com.invalid>:

>Hi,
>I'd like to place like a button an a html page that when clicked
>generates a excel file. I once did this on an Oracle web server:
>I simply created a form that once submited generated and
>returned a file with a csv extention so that excel and not the
>browser would open it. How can the same thing be done on an IIS
>web server. Any idea is welcome. Thanks.

To generate an Excel file try the Spreadsheet::WriteExcel from CPAN,
http://search.cpan.org/search?dist=Spreadsheet-WriteExcel 

If you use a filename of "-" in the "new" constructor the output is
redirected to STDOUT. You can then specify the Content-type as
application/vnd.ms-excel.

In this context the CSV approach suggested by another poster is just
as good.

John McNamara
-- 
Try before you die()





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

Date: Fri, 16 Jun 2000 00:26:18 GMT
From: "Mike Ray" <noone@nowhere.org>
Subject: Re: Help with strings
Message-Id: <Kue25.3534$T13.83861@newsread2.prod.itd.earthlink.net>


Abe Timmerman wrote in message
<81qhks4pj1pc282p15jal46a79nm2040ec@4ax.com>...
>On Thu, 15 Jun 2000 11:51:50 GMT, "Mike Ray" <noone@nowhere.org> wrote:
>...
>> In earlier debugging I had attempted to remove any whitespace (even
>> though there is not any in my test data) with the following:
>>
>> $foo = $1;
>> $foo =~ tr/\s//; (and $foo =~ tr/\s//d;)
>
>But tr/// doesn't recognize '\s' as the whitespace-class, as it doesn't
>recognize classes at all.
>Leaving the replace (second) part of tr/// empty, doesn't do what you
>think (I won't quote perlop), that is what the /d modifier is for
>indeed.
>
> $foo =~ tr/ \f\n\r\t//d;


Thanks Abe for the explanation. Been doing Perl for about a month now so
am still ramping up on the language. (I have been a C programmer for
over 20 years, however.) For whatever reason, understanding "tr" has
been a pain. You just supplied the Tylenol.

I did find the cause of the problem and it was unrelated to the code I
posted. Turned out to be a simple syntax error...using C syntax instead
of Perl in a way that didn't crash the interpreter. Since the problem
was so bizarre it had to be: 1) obvious, and 2) must be occurring far
from the point where it manifested a problem. Turned out both were true.
Thanks to the folx that assisted. It got me out of the hole and up and
running.

Hey Godz, whatever you're smoking has got to be some good stuff 'cause
you're way beyond left field. Matter of fact, you ain't even in the
ballpark. Pfew...and I thought the 60's were history...

Mike




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

Date: Fri, 16 Jun 2000 08:52:58 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: How to decode binhex encoded email attachments?
Message-Id: <henry-266173.08525816062000@news.metropolis.net.au>

In article <39494fd2.8114515@client.sw.news.psi.net>, ahyy@pacbell.net 
(ahy) wrote:

> I really need help on decoding binhex encoded email attachments.

CPAN

Convert::BinHex
Mac::Conversions

Henry.


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

Date: Fri, 16 Jun 2000 08:48:36 +0930
From: Henry <henry@penninkilampi.net>
Subject: Re: MacPerl- Back to square one.
Message-Id: <henry-87F63E.08483616062000@news.metropolis.net.au>

In article <8ibj9k$l4b$1@barcode.tesco.net>, "B Kemp" 
<hyagillot@tesco.net> wrote:

> So, if you want a question rather than idle chatter:-
> Information? Where from?

Go to <http://www.macperl.com/> and start reading.

Just about everything in the MacPerl world is reachable from there.  The 
mailing lists are where virtually all the MacPerl people hang out, so 
you should sign up and direct further questions there.

Henry.


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

Date: Thu, 15 Jun 2000 23:41:52 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: MacPerl- Back to square one.
Message-Id: <394967a6.1132553@news.skynet.be>

B Kemp wrote:

>So, if you want a question rather than idle chatter:-
>Information? Where from?

The mailing lists. See <http://www.macperl.org/depts/mlist.html>. Very
friendly, compared to this place ;-) but recently awfully quiet. Until
recently, the average mail count was about 50 a week.

For simple browsing, <www.macperl.org> is a good starting point.

>I get the impression that standard CPAN modules stand no chance on a Mac-
>true? false?

Er... XS modules need to be ported and compiled. You can find an
overview at <http://pudge.net/cgi-bin/mmp.plx>. Simple, non-C modules
can be installed manually (non-AUTOLOAD) if you take care of the
newlines yourself, or via Chris Nandors port of CPAN.pm, which includes
a decompressor, and where you simply drop a distribution on a droplet
which will install it for you. URL:
<http://www.perl.com/CPAN-local/authors/id/CNANDOR/cpan-mac-0.40.sit.bin>.

Warning: this is one heavy script.

-- 
	Bart.


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

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


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