in reply to numeric comparison

If it's ok if 'xxx' compares as 0, you could also turn the appropriate warning off (locally). Something like:
if (do {no warnings 'numeric'; $foo < 4.556}) { ... }

Abigail