Syntactic Confectionery Delight | |
PerlMonks |
Re^2: open(): Is there a simple way to map between numeric open modes and "symbol modes"?by Anonymous Monk |
on Feb 08, 2013 at 02:35 UTC ( [id://1017747]=note: print w/replies, xml ) | Need Help?? |
"Numeric mode value" means the number you'd pass to an open() call, "which is an OR-ing of stuff like O_RDONLY and O_SYNC, constants you can import from POSIX" (for example from FUSE, see).
Question is: how do I un-OR this stuff and get the matching symbol for what the ORed POSIX flags/constants mean.
In Section
Seekers of Perl Wisdom
|
|