perl how can i use an operator while it's inside a variable ?

Posted by Ricky on Stack Overflow See other posts from Stack Overflow or by Ricky
Published on 2010-03-21T09:44:05Z Indexed on 2010/03/21 9:51 UTC
Read the original article Hit count: 361

Filed under:
|
|
|

Hey,

my question is for Perl lang. i'm looking for a way to do this:

$a = "60"; $b = "< 80";

if ( $a $b ) { then .... }

while $b holds the operator..... can i do that ?

maby with some other way ?

10x

© Stack Overflow or respective owner

Related posts about perl

Related posts about operator