Ticket #1156 (closed defect: fixed)
syntax check strangeness
| Reported by: | zenogantner | Owned by: | azawawi |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | advanced perl tools | Version: | 0.82 |
| Keywords: | Cc: |
Description
package TestClass?;
use strict;
use warnings;
sub is_type {
my $status = 0;
lala; # Error
return $status;
}
This is also an error
Having the "?" after TestClass? somehow leads to the result that no syntax errors are shown when syntax checking is activated.
I have perl 5.10.1
Change History
Note: See
TracTickets for help on using
tickets.

Nice catch! perl dev -t releases this valuable useful debug message and it means that no 'type' error item has been parsed by Parse::ErrorString::Perl.
# Mon Mar 7 16:57:17 2011 Padre::Wx::Syntax::render 'Cannot handle issue: $VAR1 = bless( { \'file_msgpath\' => \'C:\\\\Users\\\\azawawi\\\\AppData\\\\Local\\\\Temp\\\\M_wdAj2Q96\', \'file\' => \'M_wdAj2Q96\', \'message\' => \'Invalid version format (non-numeric data), near "package TestClass"\', \'line\' => \'0\', \'file_abspath\' => \'C:\\\\Users\\\\azawawi\\\\AppData\\\\Local\\\\Temp\\\\M_wdAj2Q96\', \'near\' => \'package TestClass\' }, \'Parse::ErrorString::Perl::ErrorItem\' ); '