Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

何じゃこりゃ (2)

未定義値 undef と空文字列が等価ってのはどうも。

$ perl -e 'print "OK\n" if undef eq "";'
OK