in reply to testing an if statement in a string

if( eval($rule_text) ) {···}

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^2: testing an if statement in a string
by brcjacks (Initiate) on Oct 31, 2013 at 14:58 UTC
    thanks for the quick reply. I had a feeling it was something simple.