Subject: | calling length() on PPI::Token gives error |
i get the following error when i call length() on a PPI::Token object:
Undefined subroutine &CORE::length called at
/Library/Perl/5.8.8/PPI/Token.pm line 156.
a quick look at the sourced shows the call being made like this:
&CORE::length(...);
the & needs to be dropped from the beginning of the statement.