|
Posted by Frank Seitz on March 18, 2008, 4:09 pm
Please log in for more thread options
Lawrence Statton wrote:
>>
>>If you are doing the testing using numeric comparison, then they are equal.
>>
>>print "equal" if '0567' == '567';
>
> Does not print "equal"
>
> However
>
> perl -le 'print "equal" if '0567' == '375''
>
> Does.
You should test your programs!
> Why can't programmers tell Haloween from Christmas?
>
> Because OCT 31 == DEC 25
$ perldoc -f dec
No documentation for perl function `dec' found
Frank
--
Dipl.-Inform. Frank Seitz; http://www.fseitz.de/ Anwendungen für Ihr Internet und Intranet
Tel: 04103/180301; Fax: -02; Industriestr. 31, 22880 Wedel
|