Effective Perl Programming – write better, more idiomatic Perl
Perl v5.34 allows you to specify octal literals with the 0o prefix, as in 0o123_456 . This is consistent with the existing constructs to specify hexadecimal literal 0xddddd and binary literal 0bddddd . The builtin oct() function accepts any of these forms.
Previously, you specified octal with just a leading zero: