[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 20000125.002] Problem in documentation of Fcntl constants
>>>>> "Warren" == Warren Odom <warren-odom@stenocall.com> writes:
Warren> The point is, a literal reading of the documentation (and
Warren> isn't that how it's supposed to be read?) states that integer
Warren> addition is the proper way to combine these constants, when in
Warren> fact not only is it not good practice-but also just plain
Warren> doesn't work.
But it *does* work. You just happened to stumble into a combination
of factors... that the AUTOLOADed constants can get parsed in an
unexpected way.
2 + 4 is 2 | 4. Same value. Adding works fine.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- Follow-Ups from:
-
"Warren Odom" <warren-odom@stenocall.com>
- References to:
-
"Warren Odom" <warren-odom@stenocall.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]