There was no "use feature 'bitwise'" inside the debugger.
:~$ perl -de0 Loading DB routines from perl5db.pl version 1.77 ... DB<1> say (0 . "$_" | 1 . "1") for qw/0 2 4 6 8/ 11 11 15 15 11 DB<2>
but the interactive debugger seems to automatically run under -E
E commandline
behaves just like -e, except that it implicitly enables all optional features and builtin functions (in the main compilation unit). See feature and builtin.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^10: converting binary to decimal
by LanX
in thread converting binary to decimal
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |