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

Re: [MacPerl] Bug in 'use'?



At 12:35 AM -0600 on 7/16/99, A K Suska wrote:
>If you take a look at hash-it.pm, you will notice that it is designed for UNIX
>only.

No, it's not. I wrote it myself -- and it's worked with MacPerl for quite
some time.

It's designed for CGI's on any platform, including the ones made by MacPerl.

>My assumption would be that that module that is causing MacPerl to crash.

I don't see how.

>I can't confirm this however because my MacPerl doesn't crash at all when I
>execute the script you provided, but it does stop and do nothing during
>hash-it.pm and when I abort the script using CMD-.

It's waiting for something on stdin. Just hit enter.

Normally, it gets whatever the web browser sent as a post query on stdin.
But since it's not, you should just hit enter.

>I get the "death" message you
>mentioned below. It stands to reason (at least from my vantage point) that
>unix-os based scripts/modules should not execute properly on a mac unless
>the OS
>is var better than I could have imagined.

Perl scripts are fairly cross-platform.

>OS X--who knows?  Perhaps there is a
>robustness issue when dealing with modules that do not consider what platform
>they are running on, but apparently not in my version of macPerl: 5.2.0r4
>(perl
>5.004).  Do you have the latest version?

Yes, I have the latest one.




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