in reply to Re^5: ' or no?
in thread ' or no?

oct converts *from* oct/hex/bin (oct in your case).
Conversion from dec is done automatically when needed.
printf converts *to* dec/oct/hex/bin.

>perl -le "printf '%d', '255' 255 >perl -le "printf '0%o', oct '0377' 0377 >perl -le "printf '0x%X', oct '0xFF' 0xFF >perl -le "printf '0b%b', oct '0b11111111' 0b11111111