On 01/15/2011 06:45 PM, Blue Swirl wrote:
+                       if ($level == 0 && !$block =~ /^\s*\{/ && !$allowed) {

I'm not a Perl expert at all, but I think you need parentheses for the argument of "!":

 if ($level == 0 && !($block =~ /^\s*\{/) && !$allowed) {

Paolo

Reply via email to