[26029] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 8238 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Jul 9 18:05:30 2005

Date: Sat, 9 Jul 2005 15:05:05 -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           Sat, 9 Jul 2005     Volume: 10 Number: 8238

Today's topics:
    Re: ActivePerl build 813 broken? <rtrahan@optonline.net>
        Book:  Higher-Order Perl: Transforming Programs with Pr <caseyhHAMMER_TIME@istar.ca>
    Re: Book:  Higher-Order Perl: Transforming Programs wit <sherm@dot-app.org>
    Re: Book:  Higher-Order Perl: Transforming Programs wit <apeiron+usenet@coitusmentis.info>
    Re: Book:  Higher-Order Perl: Transforming Programs wit <1usa@llenroc.ude.invalid>
    Re: Book:  Higher-Order Perl: Transforming Programs wit axel@white-eagle.invalid.uk
    Re: Book:  Higher-Order Perl: Transforming Programs wit <perin@panix.com>
        HOWTO -  do local ppm module install (fix "Could not lo <nospam@for.me>
    Re: In basic I say Dim var$(50,50), how to make 2 dimen <tadmc@augustmail.com>
    Re: Problems understanding and implementing process man <tadmc@augustmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Sat, 09 Jul 2005 15:23:37 -0400
From: Richard Trahan <rtrahan@optonline.net>
Subject: Re: ActivePerl build 813 broken?
Message-Id: <ztVze.9005$js.2988@fe10.lga>

Richard Trahan wrote:
> I have been using build 811 since its release, and it has worked fine
> on W98. With build 813, all my scripts cause page faults in MSVCRT.dll,
> so I've gone back to 811. I don't want to waste my time hunting for
> errors that may be ActiveState's fault; does anybody know what the
> problem is with build 813 on W98?

Thank you all for responding.

I have determined that there is some sort of boundary error, almost 
certainly a compiler bug. I used to see this sort of thing long, long 
ago, and didn't think it still existed. Back then, we used to fix these 
bugs in Fortan compilers by putting an irrelevant statement (like i=5) 
in the code to "stretch" it a bit. The same thing happens with build 
813; by merely inserting a print statement I can remove an "invalid page 
fault". It's pointless to provide sample code because the exact nature 
of the problem is unknown, and is possibly dependent on my memory size, 
its allocation among other tasks, etc.


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

Date: Sat, 09 Jul 2005 17:11:49 GMT
From: Casey Hawthorne <caseyhHAMMER_TIME@istar.ca>
Subject: Book:  Higher-Order Perl: Transforming Programs with Programs 
Message-Id: <q810d1p5ve0asunoi64muueb3bddbbtg86@4ax.com>

You may be interested in the following book:

Higher-Order Perl: Transforming Programs with Programs (Paperback)
by Mark Jason Dominus "Until the release of Perl 5.6.0, there was no
good way to generate a binary numeral in Perl..." (more)

>http://www.amazon.com/exec/obidos/tg/detail/-/1558607013/qid=1120928989/sr=8-1/ref=pd_bbs_ur_1/002-2800207-9656843?v=glance&s=books&n=507846

--
Regards,
Casey


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

Date: Sat, 09 Jul 2005 14:49:16 -0400
From: Sherm Pendley <sherm@dot-app.org>
Subject: Re: Book:  Higher-Order Perl: Transforming Programs with Programs
Message-Id: <m2k6jzizmb.fsf@Sherm-Pendleys-Computer.local>

Casey Hawthorne <caseyhHAMMER_TIME@istar.ca> writes:

> You may be interested in the following book:
>
> Higher-Order Perl: Transforming Programs with Programs (Paperback)

Spam makes Baby Santa Claus cry.

*plonk*

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


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

Date: 09 Jul 2005 19:13:42 GMT
From: Christopher Nehren <apeiron+usenet@coitusmentis.info>
Subject: Re: Book:  Higher-Order Perl: Transforming Programs with Programs
Message-Id: <slrndd08f6.2139.apeiron+usenet@prophecy.dyndns.org>

On 2005-07-09, Sherm Pendley scribbled these
curious markings:
>> You may be interested in the following book:
>>
>> Higher-Order Perl: Transforming Programs with Programs (Paperback)
>
> Spam makes Baby Santa Claus cry.
>
> *plonk*

 ... wow ... plonking someone for mentioning a book *which they didn't
even write*?

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask questions of idiots, you get "Joel on Software".
Unix is user friendly. However, it isn't idiot friendly.


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

Date: Sat, 09 Jul 2005 19:41:51 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Book:  Higher-Order Perl: Transforming Programs with Programs
Message-Id: <Xns968E9FAE9CD13asu1cornelledu@127.0.0.1>

Christopher Nehren <apeiron+usenet@coitusmentis.info> wrote in 
news:slrndd08f6.2139.apeiron+usenet@prophecy.dyndns.org:

> On 2005-07-09, Sherm Pendley scribbled these
> curious markings:
>>> You may be interested in the following book:
>>>
>>> Higher-Order Perl: Transforming Programs with Programs (Paperback)
>>
>> Spam makes Baby Santa Claus cry.
>>
>> *plonk*
> 
> ... wow ... plonking someone for mentioning a book *which they didn't
> even write*?

Well, if you inspect the URL:

>http://www.amazon.com/exec/obidos/tg/detail/-/1558607013/qid=
>1120928989/sr=8-1/ref=pd_bbs_ur_1/002-2800207-9656843?
>v=glance&s=books&n=507846

Take a look at ref=pd_bbs_ur_1. That is someone's Amazon affiliate ID. 
If you click on this link, then but something from Amazon a month from 
now, that person will make money (if you haven't clicked on someone 
else's affiliate link in the mean time).

As such, Sherm is right on. This is spam.

The OP's ISP will be hearing from me when I get a chance.

Sinan

PS: I'll join the plonking of the OP.

-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html


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

Date: Sat, 09 Jul 2005 21:10:16 GMT
From: axel@white-eagle.invalid.uk
Subject: Re: Book:  Higher-Order Perl: Transforming Programs with Programs
Message-Id: <Y2Xze.139658$Vj3.21156@fe2.news.blueyonder.co.uk>

A. Sinan Unur <1usa@llenroc.ude.invalid> wrote:
> Christopher Nehren <apeiron+usenet@coitusmentis.info> wrote in 
 
>> ... wow ... plonking someone for mentioning a book *which they didn't
>> even write*?
 
> Well, if you inspect the URL:
 
>>http://www.amazon.com/exec/obidos/tg/detail/-/1558607013/qid=
>>1120928989/sr=8-1/ref=pd_bbs_ur_1/002-2800207-9656843?
>>v=glance&s=books&n=507846
 
> Take a look at ref=pd_bbs_ur_1. That is someone's Amazon affiliate ID. 
> If you click on this link, then but something from Amazon a month from 
> now, that person will make money (if you haven't clicked on someone 
> else's affiliate link in the mean time).
 
> As such, Sherm is right on. This is spam.

Indeed. May I draw attention to the _author's_ site:

http://hop.perl.plover.com/#free

	"My contract says that after the book is published I can
	distribute the complete text from my web site. The content
	of my book will be available to everyone everywhere for
	free. Watch this space for updates."

Axel



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

Date: 09 Jul 2005 17:22:32 -0400
From: Lewis Perin <perin@panix.com>
Subject: Re: Book:  Higher-Order Perl: Transforming Programs with Programs
Message-Id: <pc7d5prad47.fsf@panix1.panix.com>

"A. Sinan Unur" <1usa@llenroc.ude.invalid> writes:

> Christopher Nehren <apeiron+usenet@coitusmentis.info> wrote in 
> news:slrndd08f6.2139.apeiron+usenet@prophecy.dyndns.org:
> 
> > On 2005-07-09, Sherm Pendley scribbled these
> > curious markings:
> >>> You may be interested in the following book:
> >>>
> >>> Higher-Order Perl: Transforming Programs with Programs (Paperback)
> >>
> >> Spam makes Baby Santa Claus cry.
> >>
> >> *plonk*
> > 
> > ... wow ... plonking someone for mentioning a book *which they didn't
> > even write*?
> 
> Well, if you inspect the URL:
> 
> >http://www.amazon.com/exec/obidos/tg/detail/-/1558607013/qid=
> >1120928989/sr=8-1/ref=pd_bbs_ur_1/002-2800207-9656843?
> >v=glance&s=books&n=507846
> 
> Take a look at ref=pd_bbs_ur_1. That is someone's Amazon affiliate ID. 
> If you click on this link, then but something from Amazon a month from 
> now, that person will make money (if you haven't clicked on someone 
> else's affiliate link in the mean time).
> 
> As such, Sherm is right on. This is spam.
> 
> The OP's ISP will be hearing from me when I get a chance.

Thanks for the careful explanation.  I forwarded the original post to
abuse@amazon.com with the following comment:

  The Usenet post I'm forwarding here is an attempt to misuse a public
  forum for the purpose of benefiting the poster's Amazon account.
  Please take action on this, or else you will be a passive participant
  in spamming.

/Lew
---
Lew Perin / perin@acm.org
http://www.panix.com/~perin/babelcarp.html


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

Date: Sat, 09 Jul 2005 17:25:15 GMT
From: ROC <nospam@for.me>
Subject: HOWTO -  do local ppm module install (fix "Could not locate a PPD file")
Message-Id: <%LTze.137864$XQ.2605200@twister.southeast.rr.com>

for ActiveState Perl 5.6 at least.  I am offering this from my 
experience this morning with an urgent need to install and use the 
Date::Calc module (why on earth would that be left out of a default 
install?  It seems to me to be such an obvious function to make up for 
the Windows cmd shell lack in that regard) to get an overdue project a 
bit further along.  Since it took me over an hour to piece together 
clues from various Perl doc resources, and google searches, I hope this 
how-to is a bit of giveback to the Perl community (esp newbies/dabblers 
like me ;-).  Any corrections and enhancements are certainly welcome!

This was necessary for installation on a server behind a firewall (and I 
do not care to risk my job by violating security policies in trying to 
"find" a way to proxy out to the ActiveState repositories - and hoping 
this much "initiative" is not in violation either ;-).

What worked for me:


1. Download/unzip the Perlmod package to a dir WITHOUT SPACES IN ITS 
PATH LIKE "DOCUMENTS AND SETTINGS".  ppm does not seem able to "ignore" 
the spaces (even with the surrounding quotes), and thus uses them as 
command separators.

2. Run "ppm":

PPM> set repository Local C:\sysfiles\perlmod

PPM> set

Commands will be confirmed.
Temporary files will be deleted.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed.
Tracing info will not be written.
Screens will not pause.
Query/search results will be verbose.
Current PPD repository paths:
         ActiveState Package Repository: 
soap://www.ActiveState.com/cgibin/SOAP/ppmserver.plex?class=PPM::SOAPServer
         Local: C:\sysfiles\perlmod
Packages will be built under: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
   [Guess I could have used the 8.3 munged dir name as above?]

[NOTE:  get rid of the ActiveState web repository setting!!!]

PPM> set repository --remove ActiveState Package Repository

PPM> set

Commands will be confirmed.
Temporary files will be deleted.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed.
Tracing info will not be written.
Screens will not pause.
Query/search results will be verbose.
Current PPD repository paths:
         Local: C:\sysfiles\perlmod
Packages will be built under: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp

PPM> install --location=Local Date-Calc

Install package 'Date-Calc?' (y/N): y
Retrieving package 'Date-Calc'...
Error installing package 'Date-Calc': Could not locate a PPD file for 
package Date-Calc

  [Note: do not specify the "--location" parameter (dunno why it's 
available - not for local directory specs?)  ]

PPM> install  Date-Calc

Install package 'Date-Calc?' (y/N): y

Retrieving package 'Date-Calc'...
Installing D:\Perl\site\lib\auto\Date\Calc\Calc.bs
Installing D:\Perl\site\lib\auto\Date\Calc\Calc.dll
Installing D:\Perl\site\lib\auto\Date\Calc\Calc.exp
Installing D:\Perl\site\lib\auto\Date\Calc\Calc.lib
Installing D:\Perl\site\lib\Date\Calc.pm
Installing D:\Perl\site\lib\Date\Calc.pod
Installing D:\Perl\site\lib\Date\Calendar.pm
Installing D:\Perl\site\lib\Date\Calendar.pod
Installing D:\Perl\site\lib\Date\Calendar\Profiles.pm
Installing D:\Perl\site\lib\Date\Calendar\Profiles.pod
Installing D:\Perl\site\lib\Date\Calendar\Year.pm
Installing D:\Perl\site\lib\Date\Calendar\Year.pod
Installing D:\Perl\site\lib\Date\Calc\Object.pm
Installing D:\Perl\site\lib\Date\Calc\Object.pod
Installing D:\Perl\site\lib\Carp\Clan.pm
Installing D:\Perl\site\lib\Carp\Clan.pod
Writing D:\Perl\site\lib\auto\Date\Calc\.packlist
PPM>quit
Quit!

C:\

It appears from "help set" that "set save" would make my mod permanent, 
but there might be another "policy issue" there...

My perl program worked like a champ with this module after this update.
=======

HTH,
ROC


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

Date: Sat, 9 Jul 2005 10:10:17 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: In basic I say Dim var$(50,50), how to make 2 dimensional aray in Perl?
Message-Id: <slrndcvq6p.pn4.tadmc@magna.augustmail.com>

Jürgen Exner <jurgenex@hotmail.com> wrote:

> No. $array[3][3] is one individual/specific element of a nested array (it 
> just happens to be the third element in the third array).
                         ^^^^^                ^^^^^

   s/third/fourth/g;   # :-)


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


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

Date: Sat, 9 Jul 2005 08:05:20 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Problems understanding and implementing process management
Message-Id: <slrndcvisg.pcb.tadmc@magna.augustmail.com>

James Calivar <amheiserbush@yahoo.com.au> wrote:


> I'm a pretty new Perl programmer,


I'm a ugly old Perl programmer.


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


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