in reply to Parsing conditional expressions

You can do that with an eval command, or with something tricky like...

if ( $variable eq ($attribute.' == value') ) { &do_stuff }