Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Comapring two values of a scalar

by igelkott (Priest)
on Apr 13, 2013 at 22:50 UTC ( [id://1028563] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Comapring two values of a scalar
in thread Comapring two values of a scalar

Regexp::Common

While nice and general, this seems a bit heavy for the OP, especially considering the the rather regular examples given. Of course, always nice to see an example of a more general/powerful solution.