[LUNI] Help with a perl comparison...

scott thomason scott at thomasons.org
Fri Mar 22 16:21:00 CST 2002


Actually, the leading zeroes are precisely what are screwing
it up. When you use a leading zero in a numeric constant, 
you're telling perl to use octal. For illumination, try
executing this tidbit:

    perl -e '$n = 009; print "$n\n";'

---scott



More information about the luni mailing list