It'll work if you use eq instead of ==.
In reply to Re^3: Test::More how come? by thmsdrew in thread Test::More how come? by sem999