Perl:Equal Strings

From Progzoo
Jump to: navigation, search

Use eq to test if strings are equal.

You can't use s==t on strings. If you do then perl will convert the strings to numbers - using 0 as the default and compare those.



[Font] [Default] [Show] [Resize] [History] [Profile]