Ticket #1314 (closed defect: fixed)
syntax checker cannot deal with abs_path($0) ?
| Reported by: | szabgab | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Syntax Checking | Version: | 0.91 |
| Keywords: | Cc: |
Description
Having the following code in a script trips the syntax checker.
my $lib;
BEGIN {
$lib = File::Spec->catdir( dirname(dirname abs_path($0)), 'lib');
}
use lib $lib;
The error indicated that -: No such file or directory.
I think this means the syntax checker is using -e which is not good for the above code.
Using r15825 on Windows 7
Change History
Note: See
TracTickets for help on using
tickets.

Already fixed in trunk :)