Posted by: therium | Date: 2015-07-17 12:24 | IP: IP Logged
PSPad 4.5.8(2482) on Win 7
PSPad seems to scan for packages for keywords. But I have an SQL statement inside a Perl POD documentation, with a table named PACKAGE, and PSPad is thinking this is an actual Perl package when it is not.
Perl POD inside my Perl .pl file basically looks like this:
PKG.SHIP_DATE AS ShipDate,
PKG.TRACKING_NO AS TrackingNo,
LEFT OUTER JOIN SALES_ORDER S ON S.SO_ID = PKG.SO_ID
Can you have PSPad ignore anything between "=pod" and "=cut" lines in Perl files? Also, POD documentation can appear multiple times anywhere in a Perl file, it just has to begin with "=pod" and end with "=end" on their own lines.
Edited 2 time(s). Last edit at 2015-07-17 12:25 by therium.
Posted by: pspad | Date: 2015-07-17 13:45 | IP: IP Logged
Do you mean Syntax highlight or Code explorer?
Posted by: pspad | Date: 2015-08-04 10:26 | IP: IP Logged
Code parser for Perl will ignore =pod .. =cut.
This modification will be available in next 4.6.0 developer build
Posted by: therium | Date: 2015-11-18 13:27 | IP: IP Logged
I think it was code explorer. Thanks.