Convert a number with the hex() or oct()
#!/usr/bin/perl use warnings; print hex("0x30"), "\n"; print oct("030"), "\n";