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

Re: [MacPerl] "activate" not working from MacPerl:: DoAppleScript?



>FYI, Running the test.pl produces:
>1..2
># Mac/Apps/Launch.pm did not return a true value.
>File 'Margaux:Desktop Folder:Downloads:Mac-Apps-Launch-1.30:test.pl'; Line 12
># BEGIN failed--compilation aborted.
>File 'Margaux:Desktop Folder:Downloads:Mac-Apps-Launch-1.30:test.pl'; Line 12
>not ok 1

Sounds to me like you did not convert it to Mac OS linebreaks.  It is a Mac
module, but since it is on CPAN, it needs to be in Unix format so the CPAN
software can parse it, get its version number, and all that.

Stuffit Expander will normally fix those for you, if Internet Config knows
.pm is a text file.  Otherwise, convert them yourself.  If you don't know
how, there are some hints in the Extensibility and Re-use chapter at:

    http://www.ptf.com/macperl/ptf_book/draft.html

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#