in reply to Re^9: converting binary to decimal
in thread converting binary to decimal
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^11: converting binary to decimal
by tybalt89 (Monsignor) on Jun 08, 2025 at 14:21 UTC | |
by LanX (Saint) on Jun 08, 2025 at 16:05 UTC | |
Re^11: converting binary to decimal
by harangzsolt33 (Deacon) on Jun 08, 2025 at 15:32 UTC | |
by LanX (Saint) on Jun 08, 2025 at 16:02 UTC |