Take a look at perldoc Switch, it says 'Due to the heuristic nature of Switch.pm's source parsing, the presence of regexes specified with raw "?...?" delimiters may cause mysterious errors. The workaround is to use "m?...?" instead.', You have a few of these matches in your code, for exampleEh, I can't find any question marks in the code you quote. Perhaps you meant to quote some other code? Although I can't find any ?...? constructs in the code of the OP.elsif($new =~ /9/){$action = "Reject";if($debug){&writelog(3,"DEBUG: A +ction=$action");}}
In reply to Re^2: Perl Switch Errors on certain version
by Perl Mouse
in thread Perl Switch Errors on certain version
by minixman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |