in reply to Re^6: Tidy up conditions
in thread Tidy up conditions

Any ideas why?

Basic debugging checklist says to find out use perl -MO=Deparse,-p yourprogram.pl

Replies are listed 'Best First'.
Re^8: Tidy up conditions
by tel2 (Pilgrim) on Mar 21, 2015 at 04:25 UTC
    Thanks Anonymous Monk,

    Unfortunately, the output of:
       perl -MO=Deparse,-p test.pl
    doesn't tell me much (in this case):

    ($item = 'Test'); ($level = ((($access{$item} // (($item =~ /^([^:]+):/) && $access{"$1: +*"})) // $access{'*'}) // 999)); print("level='${level}'\n"); test.pl syntax OK

    But thanks for the link to the other things on the debugging page.