On Tue, May 31, 2011 at 02:27:53PM +1000, Sayth Renshaw wrote:
> This there formula $oct_perm_str = sprintf "%o", $perms;
> However it is not working for me. I have used my $oct = sprintf "%0", $number;

You want '%o', the lower case letter o for the sprintf format string,
the sample code you showed used '%0' the number.

-- 
Michael
[email protected]
M: +1-562-MIKEGRB

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to