Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: perltidy safety

by PodMaster (Abbot)
on Aug 10, 2005 at 10:08 UTC ( #482552=note: print w/replies, xml ) Need Help??

in reply to Re: perltidy safety
in thread perltidy safety

In the same spirit (more of an FYI for the OP), 'perldoc perltidy' does say
    Parsing Limitations
        Perltidy should work properly on most perl scripts. It does a lot of
        self-checking, but still, it is possible that an error could be
        introduced and go undetected. Therefore, it is essential to make
        careful backups and to test reformatted scripts.

        The main current limitation is that perltidy does not scan modules
        included with 'use' statements. This makes it necessary to guess the
        context of any bare words introduced by such modules. Perltidy has
        good guessing algorithms, but they are not infallible. When it must
        guess, it leaves a message in the log file.

        If you encounter a bug, please report it.

    What perltidy does not parse and format
        Perltidy indents but does not reformat comments and "qw" quotes.
        Perltidy does not in any way modify the contents of here documents
        or quoted text, even if they contain source code. (You could,
        however, reformat them separately). Perltidy does not format
        'format' sections in any way. And, of course, it does not modify pod

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2021-03-04 19:28 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (107 votes). Check out past polls.