We don't bite newbies here... much | |
PerlMonks |
perlfunc:octby gods (Initiate) |
on Aug 24, 1999 at 22:42 UTC ( [id://261]=perlfunc: print w/replies, xml ) | Need Help?? |
octSee the current Perl documentation for oct. Here is our local, out-dated (pre-5.6) version: oct - convert a string to an octal number
oct EXPR oct
Interprets
EXPR as an octal string and returns the corresponding value. (If
EXPR happens to start off with
$val = oct($val) if $val =~ /^0/;
If
EXPR is omitted, uses |
|