in reply to Re^10: converting binary to decimal
in thread converting binary to decimal

Good catch!

Quick test: if say 1 |. 2 does NOT give an error, you're running with use feature 'bitwise';

Replies are listed 'Best First'.
Re^12: converting binary to decimal
by LanX (Saint) on Jun 08, 2025 at 16:05 UTC
    These are the features automatically activated in the debugger
    use feature 'current_sub', 'bitwise', 'evalbytes', 'fc', 'isa', 'p +ostderef_qq', 'say', 'signatures', 'state', 'unicode_strings', 'unico +de_eval';
    Tested for 5.036000.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery