Made use of Perl's "eq" operator.

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>