[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] Re: Perl Starmapping



Ronald J Kimball, <rjk@linguist.dartmouth.edu> wrote:

>I agree with your assessment.  The syntax error with 'use' means that
>the script is being executed under perl4 rather than perl5.

Yah, just heard back from Richard, bascially he says "D'oh!"  He's 
joining this list shortly, if he hasn't already.

He's headed home, and will probably continue from his Mac.  I'm still 
confused as to why his perl5 didn't have Math::Trig installed.  I was on 
the verge of suggesting Math::Complex, and just importing the trig 
portions.

The plan for this project is to keep the source as cross-platform as 
possible, as long as I can.  This means forgoing QuickDraw for the 
graphics, and using GD instead.  It means writing resource compiler 
sources instead of writing directly to the resource fork of the output 
file (this part will be confusing for folks on Unix (and unnecessary 
unless they plan on passing that output to a nearby Mac).  Perhaps this 
should be user-selected.

Being cross-platform in this case means not setting switches from the 
command line. So user selected functions will have to be done some other 
way.

@ARGV only taking a filename as input is a given in this case.

MacOS GUI and Toolbox calls must be nested inside conditionals which test 
for $^O.  Supposedly, I could similarly test for Unix, and pass messages 
to the X11 window manager, but I'm only doing a quick & dirty hack here!  
Ditto for <insert OS here>.



# Fungal Parataxonomy                   Mycology Information (Mycoinfo)
# Webmaster, Staff Writer      **The World's First Mycology E-Journal**   
# <mailto:webmaster@mycoinfo.com>            <http://www.mycoinfo.com/> 
#
# First they ignore you. Then they laugh at you. Then they fight you.
# Then you win.                                     --Mohandas Gandhi


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org