fix file/line detection for perl
Merge pull request #1262 from powerman/fix-perl-DATA

Perl: fix filename detection.