in reply to Re: Perl Switch Errors on certain version
in thread Perl Switch Errors on certain version
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");}}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl Switch Errors on certain version
by tirwhan (Abbot) on Nov 29, 2005 at 11:49 UTC | |
by Perl Mouse (Chaplain) on Nov 29, 2005 at 11:58 UTC | |
by tirwhan (Abbot) on Nov 29, 2005 at 13:29 UTC |