in reply to Re^2: why dosn't my code work?
in thread why dosn't my code work?

While it is correct that one should quote strings, it's by no means required (unless one uses strict, which again is highly recommended).
$ perl -E 'if (foo eq "foo") { say STDOUT yes } ' yes

I really don't recommend it, but it does work without quotes.

Replies are listed 'Best First'.
Re^4: why dosn't my code work?
by ysth (Canon) on Apr 22, 2009 at 05:04 UTC