At 14:00 -0700 2002.07.31, Randall M! Gee wrote:
>Sure, it prints "3", but only on a Mac.  Try it on a non-Mac machine.
>You get an error, because kMacPerlQuitIfFirstScript is a bareword, and
>you never did anything to tell Perl it's a function.

Yes, of course.  That's not the point of my example.  I assumed that in his
example, he had defined the constants being used.  Perhaps a bad assumption
on my part, but I didn't glean from his post that he hadn't defined the
constants being used.


>I'm not sure what the best way to handle this is.

I'd just add () after each "constant."

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to