in reply to Operator held in scalar/array element

If you're sure your input can be trusted, there's string eval:
if ( eval "$permissions[0] \$file" ) { ... }

Replies are listed 'Best First'.
Re^2: Operator held in scalar/array element
by AngryKumquat (Initiate) on May 06, 2009 at 23:17 UTC
    Thank you that works perfectly.