At 16:52 -0500 2/28/08, Jay Savage wrote:
>On Thu, Feb 28, 2008 at 4:03 PM, Ben Crane <[EMAIL PROTECTED]> wrote:
>> I have a Perl 4.X script that runs using MacPerl in Classic on my G5
>>  Mac but I can't get it to run using Perl in 10.4.11.
>>
>>  What do I need to do to make it run?
>>
>>  Thanks for any suggestions.
>>
>
>Upgrade it work with Perl 5.x ;)
>
>Seriously, though: what errors are you seeing? Does it rely on any
>modules? Perhaps mober that the permissions scheme is different on X, and if 
>it was
>set to run under MacPerl on Classic, it won't be executable by
>default.
>
>Unfortunately, a *lot* has changed in the last 15 years (the last
>perl4 release was in 1993), so I don't think anyone is going to be
>able to give you a list of all the things that could be going wrong
>off the tops of their heads.
>
>Post the errors, though, and if possible the problematic code, and we can help.

One very simple possibility is that the line ends in the code itself may need 
to be converted from Mac Classic 0D's to UNIX 0A's.

<ftp://ftp.macnauchtan.com/Software/LineEnds/FixEndsFolder.sit>  52 kB is one 
way.

Remember that in MacPerl the designator \n generates 0D and \r generates 0A. 
That's reversed from UNIX conventions which are used in OS neXt.


-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

Reply via email to