in reply to Re^8: How can I set a bit to 0 ?
in thread How can I set a bit to 0 ?
Question: is there any other strict explanation for barewords as operands?
I've seen this pattern so many times with modules exporting flags and IIRC even perldocs°, that this discussion is surprising me.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) see last paragraph in chmod
use Fcntl qw( :mode ); chmod S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH, @executables; # Identical to the chmod 0755 of the example above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: How can I set a bit to 0 ?
by hippo (Archbishop) on May 27, 2022 at 14:18 UTC | |
by LanX (Saint) on May 27, 2022 at 14:26 UTC | |
by hippo (Archbishop) on May 27, 2022 at 16:11 UTC | |
by LanX (Saint) on May 27, 2022 at 17:05 UTC |