Perl Programming/Keywords/oct
The oct keyword
editoct is a function that interprets EXPRESSION as a string with an octal value. If, however, the expression starts with "0b" or "0x", it interprets its value as binary or hexadecimal, respectively. A leading whitespace is always ignored.
Without the EXPRESSION, $_ is used as the source.
Syntax
edit oct EXPRESSION
oct