in reply to Re: open(): Is there a simple way to map between numeric open modes and "symbol modes"?
in thread open(): Is there a simple way to map between numeric open modes and "symbol modes"? (solved)
my %modes; @modes{ qw < > >> +< +> +>> } = ( 1, 2, 2, 128, 128, 128 );
Are these the official constants? If so, how do I un-OR OR results, against the other flags, to get back to these basic constants?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: open(): Is there a simple way to map between numeric open modes and "symbol modes"?
by BrowserUk (Patriarch) on Feb 08, 2013 at 03:24 UTC | |
by isync (Hermit) on Feb 08, 2013 at 14:06 UTC | |
|
Re^3: open(): Is there a simple way to map between numeric open modes and "symbol modes"?
by BrowserUk (Patriarch) on Feb 08, 2013 at 03:14 UTC | |
|
Re^3: open(): Is there a simple way to map between numeric open modes and "symbol modes"?
by Anonymous Monk on Feb 08, 2013 at 05:09 UTC |