Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: perltidy 20101217 not detecting errors

by Dandello (Scribe)
on Feb 07, 2011 at 18:24 UTC ( #886776=note: print w/ replies, xml ) Need Help??


in reply to Re: perltidy 20101217 not detecting errors
in thread perltidy 20101217 not detecting errors

Well, my assumption is that the current version of Perltidy should detect the same issues as the old version - missing brackets, especially - and give me an .ERR file.

Since I know the file I'm sending to Tidy has errors because I put them there for testing, I assume I should get an error file.

AND, when I process the file I know has errors through Perl::Critic online, it tells me "perltidy had errors!! at line 1, column 1. See page 33 of PBP. Severity: 1"

Now, I don't know if this is a genuine bug, since when I checked the Perltidy bug report I didn't see anything related to this issue, but when but when four out of the four machines that have had the newest version of Activestate Perl installed on them all have the same issue...

This is the log file for a script I was testing that I know for a fact has a bracket commented out so it would throw an error:

perltidy version 20101217 log file on a MSWin32 system, OLD_PERL_VERSI +ON=5.012002 Windows type is XP/.Net Configuration and command line parameters for this run: -g To find error messages search for 'WARNING' with your editor


Comment on Re^2: perltidy 20101217 not detecting errors
Download Code
Re^3: perltidy 20101217 not detecting errors
by Anonymous Monk on Feb 07, 2011 at 20:29 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2014-09-30 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (375 votes), past polls