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