http://www.perlmonks.org?node_id=87103

Q&A > strings > Why are these 2 strings equal? - Answer contributed by bikeNomad

Because when you use == the strings are converted to numbers. And both these strings equal 0 when converted to numbers. And 0 == 0.