octoct ostring
Interprets
ostring
as an octal string and returns the
equivalent decimal value.
(If
ostring
happens to start off with If ostring is omitted, the function interprets$val = oct $val if $val =~ /^0/;
$_
.
To perform the inverse function on octal numbers,
use:
$oct_string = sprintf "%lo", $number; Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|