[30457] in Perl-Users-Digest
Perl-Users Digest, Issue: 1700 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jul 8 14:09:52 2008
Date: Tue, 8 Jul 2008 11:09:14 -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 Tue, 8 Jul 2008 Volume: 11 Number: 1700
Today's topics:
Re: Compiled perl executable <tadmc@seesig.invalid>
Re: embeding perl in C++ <fawaka@gmail.com>
Re: FAQ 1.12 What's the difference between "perl" and " <brian.d.foy@gmail.com>
Re: FAQ 1.12 What's the difference between "perl" and " <cwilbur@chromatico.net>
Re: FAQ 1.12 What's the difference between "perl" and " <wgumgfy@gmail.com>
Re: FAQ 1.12 What's the difference between "perl" and " <gvinalcde@gmail.com>
Re: FAQ 1.12 What's the difference between "perl" and " <achimpeters@gmx.de>
Re: Formatting ASCII to be read by Windows NotePad <npc@zomg.tk>
Perl/Tk and Tk 8.5 <SteveSpamTrap@yahoo.com>
Re: rt.cpan.org works ok (was: Re: rt.cpan.org, search. <benkasminbullock@gmail.com>
Re: unix guy needs win32 API help <benkasminbullock@gmail.com>
Re: unix guy needs win32 API help <ben@morrow.me.uk>
unix perler needs win32 API perl snippet <ivowel@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 8 Jul 2008 06:59:25 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: Compiled perl executable
Message-Id: <slrng76lkt.fi2.tadmc@tadmc30.sbcglobal.net>
pilcrow@pp.info <pilcrow@pp.info> wrote:
> Excuse me, gents. What is 'pp'?
http://search.cpan.org/~smueller/PAR-Packer-0.980/lib/pp.pm
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
------------------------------
Date: Tue, 08 Jul 2008 19:49:59 +0200
From: Leon Timmermans <fawaka@gmail.com>
Subject: Re: embeding perl in C++
Message-Id: <1ba5a$4873a8c7$89e0e08f$31166@news1.tudelft.nl>
On Wed, 02 Jul 2008 23:00:58 -0700, Peng Yu wrote:
> Hi,
>
> It seem libperl can be used to embed perl in C++. But that was developed
> long ago and is for C. I'm wondering if there are any new and better
> library to embed perl in C++.
>
> Thanks,
> Peng
Hi,
Actually I'm working on just that! It's similar to boost.python, but in
an earlier stage. Mail me if you're interested.
Regards,
Leon
------------------------------
Date: Tue, 08 Jul 2008 10:18:47 -0500
From: brian d foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 1.12 What's the difference between "perl" and "Perl"?
Message-Id: <080720081018478315%brian.d.foy@gmail.com>
In article <6dfe2tF27ogfU1@mid.individual.net>, Gordon Corbin Etly
<gvinalcde@gmail.com> wrote:
> PerlFAQ Server wrote:
>
> > --------------------------------------------------------------------
> >
> > 1.12: What's the difference between "perl" and "Perl"?
> >
>
> ...
>
> > You may or may not choose to follow this usage. For example,
> > parallelism means "awk and perl" and "Python and Perl" look good,
> > while "awk and Perl" and "Python and perl" do not. But never write
> > "PERL", because perl is not an acronym, apocryphal folklore and
> > post-facto expansions notwithstanding.
>
> This is from Larry's own words, and as such, it is perfect reasonable to
> describe "perl" or "Perl"
Let's not go through this again. Larry gave two backronyms (that's the
"post-facto expansion" part of the answer), and even then did not
uppercase the entire word.
------------------------------
Date: Tue, 08 Jul 2008 12:49:17 -0400
From: Charlton Wilbur <cwilbur@chromatico.net>
Subject: Re: FAQ 1.12 What's the difference between "perl" and "Perl"?
Message-Id: <86od58l3si.fsf@mithril.chromatico.net>
>>>>> "bdf" == brian d foy <brian.d.foy@gmail.com> writes:
bdf> Let's not go through this again. Larry gave two backronyms
bdf> (that's the "post-facto expansion" part of the answer), and
bdf> even then did not uppercase the entire word.
And he did so as *jokes* -- the fact that some wit realized that Ford,
as in the auto manufacturer, could be expanded to Fix Or Repair Daily,
does not mean that the name of that company should be correctly written
as FORD. Or that the joking expansion of Emacs as "Eight Megs and
Constantly Swapping" means that the editor's name should be written
EMACS instead of Emacs.
Charlton
--
Charlton Wilbur
cwilbur@chromatico.net
------------------------------
Date: Tue, 8 Jul 2008 10:44:03 -0700
From: "Waylen Gumbal" <wgumgfy@gmail.com>
Subject: Re: FAQ 1.12 What's the difference between "perl" and "Perl"?
Message-Id: <6dhnb6F2lpm7U1@mid.individual.net>
brian d foy wrote:
> In article <6dfe2tF27ogfU1@mid.individual.net>, Gordon Corbin Etly
> <gvinalcde@gmail.com> wrote:
> > PerlFAQ Server wrote:
> > > --------------------------------------------------------------------
> > >
> > > 1.12: What's the difference between "perl" and "Perl"?
...
> > > You may or may not choose to follow this usage. For example,
> > > parallelism means "awk and perl" and "Python and Perl" look
> > > good,
> > > while "awk and Perl" and "Python and perl" do not. But never
> > > write "PERL", because perl is not an acronym, apocryphal
> > > folklore and post-facto expansions notwithstanding.
> > This is from Larry's own words, and as such, it is perfect
> > reasonable to describe "perl" or "Perl"
> Let's not go through this again. Larry gave two backronyms (that's the
> "post-facto expansion" part of the answer),
Thank you for replying.
> and even then did not uppercase the entire word.
He didn't have to. Larry said:
< http://tinyurl.com/6joyuz >
" Perl not only stands for the Practical Extraction and Report
" Language, but it also stands for the Pathologically Eclectic
" Rubbish Lister.
So if Larry himself said that's what Perl stands for, why is it wrong to
write either of those as "PERL" for short? This is the point that no one
has really answered, and I think it because none of you want to answer
that because you know the result is counter to the view.
I'm really not attempting to be offense here in any way. From where I am
sitting, this seems as clear as a brand new plate glass window, and that
for what ever reason, the arguments against it seem to be designed more
to preserve the status quo, rather than an explanation of why it's
really wrong.
Please, just take some time to think this over, maybe you too will see
some sense in this:
1) Larry say Perl stands for either of those two expansions.
2) So what is wrong with writing either of those expansions
as "PERL" for short?
Also, feel free to email me to discuss this or anything else (please see
sig.)
--
Gordon C. Etly
Email: perl -e "print q{}.reverse(q{moc.liamg@ylte.nodrog})"
------------------------------
Date: Tue, 8 Jul 2008 11:02:50 -0700
From: "Gordon Corbin Etly" <gvinalcde@gmail.com>
Subject: Re: FAQ 1.12 What's the difference between "perl" and "Perl"?
Message-Id: <6dhoebF2kpfkU1@mid.individual.net>
Waylen Gumbal wrote:
> brian d foy wrote:
>> In article <6dfe2tF27ogfU1@mid.individual.net>, Gordon Corbin Etly
>> <gvinalcde@gmail.com> wrote:
>>> PerlFAQ Server wrote:
>
>>>> --------------------------------------------------------------------
>>>>
>>>> 1.12: What's the difference between "perl" and "Perl"?
>
> ...
>
>>>> You may or may not choose to follow this usage. For example,
>>>> parallelism means "awk and perl" and "Python and Perl" look
>>>> good,
>>>> while "awk and Perl" and "Python and perl" do not. But never
>>>> write "PERL", because perl is not an acronym, apocryphal
>>>> folklore and post-facto expansions notwithstanding.
>
>>> This is from Larry's own words, and as such, it is perfect
>>> reasonable to describe "perl" or "Perl"
>
>> Let's not go through this again. Larry gave two backronyms (that's
>> the "post-facto expansion" part of the answer),
>
> Thank you for replying.
>
>
>> and even then did not uppercase the entire word.
>
> He didn't have to. Larry said:
>
> < http://tinyurl.com/6joyuz >
> " Perl not only stands for the Practical Extraction and Report
> " Language, but it also stands for the Pathologically Eclectic
> " Rubbish Lister.
>
> So if Larry himself said that's what Perl stands for, why is it wrong
> to write either of those as "PERL" for short? This is the point that
> no one has really answered, and I think it because none of you want
> to answer that because you know the result is counter to the view.
>
> I'm really not attempting to be offense here in any way. From where I
> am sitting, this seems as clear as a brand new plate glass window,
> and that for what ever reason, the arguments against it seem to be
> designed more to preserve the status quo, rather than an explanation
> of why it's really wrong.
>
> Please, just take some time to think this over, maybe you too will see
> some sense in this:
>
> 1) Larry say Perl stands for either of those two expansions.
> 2) So what is wrong with writing either of those expansions
> as "PERL" for short?
>
>
> Also, feel free to email me to discuss this or anything else (please
> see sig.)
I posted using my cousin's account with out realizing it (we share one
computer.) Apologies for any confusion.
--
Gordon C. Etly
Email: perl -e "print q{}.reverse(q{moc.liamg@ylte.nodrog})"
------------------------------
Date: Tue, 08 Jul 2008 20:04:43 +0200
From: Achim Peters <achimpeters@gmx.de>
Subject: Re: FAQ 1.12 What's the difference between "perl" and "Perl"?
Message-Id: <4873AC3B.5010200@gmx.de>
Waylen Gumbal schrieb:
> brian d foy wrote:
>> Let's not go through this again. Larry gave two backronyms (that's the
>> "post-facto expansion" part of the answer),
>
> Thank you for replying.
>
>
>> and even then did not uppercase the entire word.
>
> He didn't have to. Larry said:
>
> < http://tinyurl.com/6joyuz >
> " Perl not only stands for the Practical Extraction and Report
> " Language, but it also stands for the Pathologically Eclectic
> " Rubbish Lister.
>
> So if Larry himself said that's what Perl stands for, why is it wrong to
> write either of those as "PERL" for short?
Because Larry did not say "Perl stands for PERL".
You may write "Practical Extraction and Report Language" at any time you
encounter "Perl", because that's what Larry said Perl stands for.
You may also write "Pathologically Eclectic Rubbish Lister" at any time
you encounter "Perl", because that's what Larry said Perl stands for.
You may not abbreviate either one to "P. E. R. L." or "P" or "PERL"
because that's not what Larry said.
HTH
Bye
Achim
This is the point that no one
> has really answered, and I think it because none of you want to answer
> that because you know the result is counter to the view.
>
> I'm really not attempting to be offense here in any way. From where I am
> sitting, this seems as clear as a brand new plate glass window, and that
> for what ever reason, the arguments against it seem to be designed more
> to preserve the status quo, rather than an explanation of why it's
> really wrong.
>
> Please, just take some time to think this over, maybe you too will see
> some sense in this:
>
> 1) Larry say Perl stands for either of those two expansions.
> 2) So what is wrong with writing either of those expansions
> as "PERL" for short?
>
>
> Also, feel free to email me to discuss this or anything else (please see
> sig.)
>
>
------------------------------
Date: Tue, 8 Jul 2008 16:58:09 +0200 (CEST)
From: npc <npc@zomg.tk>
Subject: Re: Formatting ASCII to be read by Windows NotePad
Message-Id: <g4vva1$6sb$1@aioe.org>
On Sat, 05 Jul 2008 12:50:46 -0700, Stephan Bour wrote:
> Sherman Pendley wrote:
> } "Stephan Bour" <sbour@niaid.nih.gov> writes: }
> } > and you turned it into some stupid crusade and now you're attempting
> } > to dish out every trick in the book in order to vindicate yourself.
> }
> } Vindicate myself to whom? You? Who appointed you to the Usenet Police?
> } Get over yourself already.
>
> I am not more a "Usenet Police" officer than you are, yet you seem to
> have no problem acting that way yourself; you clearly acted in a tone as
> if you were scolding Gumbal for being defiant, for not answering in a
> way that was satisfactory to *you*, as if anyone to participates in the
> same thread is some how obligated to answer to you. I'm afraid I'm not
> the one who is having trouble getting over thy self.
>
>
> Stephan.
Lets start a pool, how many people will sherman defend his behaviour
against before he realizes the swarm may have a point, and he should sit
in the corner and think about his offensive^2 words.
dibs on INT_MAX.
------------------------------
Date: Tue, 08 Jul 2008 11:09:51 -0400
From: Steve <SteveSpamTrap@yahoo.com>
Subject: Perl/Tk and Tk 8.5
Message-Id: <6dhea0F2jdltU1@mid.individual.net>
Is there any word on when the enhancements in Tk 8.5 (Tiles, themes,
better-looking widgets) will be made available in the Perl/Tk port? I
know that ActiveState has made some of this available for awhile in the
"Tkx" module, but I'm interested in cross-platform support and am
wondering when 8.5 will be incorporated in the base "Tk" port module.
------------------------------
Date: Tue, 8 Jul 2008 12:51:26 +0000 (UTC)
From: Ben Bullock <benkasminbullock@gmail.com>
Subject: Re: rt.cpan.org works ok (was: Re: rt.cpan.org, search.cpan.org: why so unuseable?)
Message-Id: <g4vnse$c3p$1@cgi-ml.accsnet.ne.jp>
Today, when I tried to press "resolve" on rt.cpan.org, I experienced an
eight minute delay (from 9.34 to 9.42 pm) from rt.cpan.org before finally
stopping the web browser. As Jesse Vincent requested, I've reported it to
the address on the CPAN page.
------------------------------
Date: Tue, 8 Jul 2008 12:06:11 +0000 (UTC)
From: Ben Bullock <benkasminbullock@gmail.com>
Subject: Re: unix guy needs win32 API help
Message-Id: <g4vl7j$icq$1@cgi-ml.accsnet.ne.jp>
On Mon, 07 Jul 2008 18:55:16 -0700, ivowel wrote:
> * in the file explorer, right-click on a file [whose name my perl
> program provides] and select a particular program to invoke on this
> file. For example, this could be "Send To -> Compressed (zipped)
> Folder" or "Send to Mail Recipient". In my specific case, I want to
> right-click a file to "Abby Finereader -> Convert into ..." or
> "OmniPage 16 -> Convert to PDF". Fortunately, there is nothing else
> that these invoked programs require as subsequent input.
>
> Then I want to wait until the invoked program is completed and
> exits. This is it.
As Martijn Lievaart mentioned, this isn't a Perl problem. Altering the
behaviour of the right-click menu in "Explorer" is to do with the Windows
registry. (You can alter the Windows registry via Perl but it isn't
necessary to do so to solve this problem.) The following blog post
describes how to add an Emacs command to the right click menu:
http://linuxtnt.wordpress.com/2008/03/06/
I expect you can adjust this to your problem easily.
------------------------------
Date: Tue, 8 Jul 2008 13:24:14 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: unix guy needs win32 API help
Message-Id: <es2ck5-oe21.ln1@osiris.mauzo.dyndns.org>
Quoth Ben Bullock <benkasminbullock@gmail.com>:
> On Mon, 07 Jul 2008 18:55:16 -0700, ivowel wrote:
>
> > * in the file explorer, right-click on a file [whose name my perl
> > program provides] and select a particular program to invoke on this
> > file. For example, this could be "Send To -> Compressed (zipped)
> > Folder" or "Send to Mail Recipient". In my specific case, I want to
> > right-click a file to "Abby Finereader -> Convert into ..." or
> > "OmniPage 16 -> Convert to PDF". Fortunately, there is nothing else
> > that these invoked programs require as subsequent input.
> >
> > Then I want to wait until the invoked program is completed and
> > exits. This is it.
>
> As Martijn Lievaart mentioned, this isn't a Perl problem. Altering the
> behaviour of the right-click menu in "Explorer" is to do with the Windows
> registry.
I believe (but ICBW) that this is not what the OP is asking. I think he
is trying to *invoke* an existing right-click option on a given file.
For ordinary options (those in the first section of the menu, and those
in Send To) this is easy: just incoke the appropriate command with the
appropriate options. For those provided by dlls, this is much harder,
and I'm afraid I don't know of any easy way to do it. I would advise
checking the documentation of your OCR programs to be sure they don't
provide some sort of command-line interface.
Ben
--
All persons, living or dead, are entirely coincidental.
ben@morrow.me.uk Kurt Vonnegut
------------------------------
Date: Tue, 8 Jul 2008 10:56:22 -0700 (PDT)
From: ivowel <ivowel@gmail.com>
Subject: unix perler needs win32 API perl snippet
Message-Id: <a8c412e3-1349-49e2-9382-56ac2fdc5b19@j22g2000hsf.googlegroups.com>
dear perl experts---I hope this is a request for a one-liner. I
usually run linux or OSX, but I now am in need of automating some OCR
on Windows. (The OCR vendors only sell affordable software on Windows
in their latest versions.) So, I want to automate the following:
* in the file explorer, right-click on a file [whose name my perl
program provides] and select a particular program to invoke on this
file. For example, this could be "Send To -> Compressed (zipped)
Folder" or "Send to Mail Recipient". In my specific case, I want to
right-click a file to "Abby Finereader -> Convert into ..." or
"OmniPage 16 -> Convert to PDF". Fortunately, there is nothing else
that these invoked programs require as subsequent input.
Then I want to wait until the invoked program is completed and
exits. This is it.
I can write the rest of the program.
Could someone in the know please help?
sincerely,
/iaw
------------------------------
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 V11 Issue 1700
***************************************