Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Automate perltidy for PM code?

by derby (Abbot)
on Jul 09, 2007 at 14:41 UTC ( [id://625621]=note: print w/replies, xml ) Need Help??


in reply to Re: Automate perltidy for PM code?
in thread Automate perltidy for PM code?

While I would agree with on not automagically using perltidy, why should PM remain neutral about advising it? While layout style discussions waste a lot of time, I think we could all agree that following any standard is best practices and if you're having trouble deciding what that standard should be than maybe the default settings of perltidy could fill the gap.

-derby

Replies are listed 'Best First'.
Re^3: Automate perltidy for PM code?
by GrandFather (Saint) on Jul 09, 2007 at 21:26 UTC

    For one thing, because the quality of the code (and thus the stage of the querent's Perl journey) is often reflected in less tangible elements like the use of white space and identifiers. A lot of information could be lost by running everything through PerlTidy - including the entire point of some questions, especially those involving style considerations.


    DWIM is Perl's answer to Gödel
      Yes and I think we're all unanimous now that it can't be forced on every node.
      __________________________________________________________________________________

      ^M Free your mind!

Re^3: Automate perltidy for PM code?
by jdporter (Paladin) on Jul 09, 2007 at 17:58 UTC

    And PerlMonks should recommend Parse::RecDescent for all your parsing sorro^Wneeds, too.

    A word spoken in Mind will reach its own level, in the objective world, by its own weight

      Now you're just being silly.

      -derby
        He's mocking your idea, you silly.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found