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

Re: [MacPerl] tie



On Fri, 05 Mar 1999 17:19:39 -0700, jason white wrote:

>What I get back here now is...
>
># Argument "O_SVWST" isn't numeric in entersub.

Just an aside.

That's what you get if you do a bitwise OR on two strings "O_RDWR" and
"O_CREAT".

The barewords O_RDWR and O_CREAT are in fact intended as functions that
are defined in Fcntl.pm . So, if Fcntl is used, you'll get the correct
(numeric) value for "O_RDWR|O_CREAT".

I do think it's silly that Perl doesn't complain in a more appropriate
way about those barewords.

	Bart.

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