Illegal octal number: with 8 inside : oct « Data Type « Perl






Illegal octal number: with 8 inside

   


#!/usr/bin/perl -w

print 0378,       "\n";

   
    
    
  








Related examples in the same category

1.Convert a number with the hex() or oct()
2.Octal number
3.Octal numerals starting with 0x
4.Using oct function to convert number to octal numbers
5.oct("178")
6.octal data
7.Reads any kind of integer.