my $num = 0xff; print oct($num); #wrong! printf('xo',$num);# right!