in reply to Re: Using dynamic operators in an if() statement
in thread Using dynamic operators in an if() statement

Shouldn't that be

if ( eval "\$consumption $operator" )

I doubt the existance of a need to stringify and evaluate the contents of $consumption.