Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Perl6: Configuring Perl::Tidy to deal with pointy blocks and braces.

by molecules (Monk)
on Feb 17, 2011 at 22:40 UTC ( #888812=perlquestion: print w/replies, xml ) Need Help??
molecules has asked for the wisdom of the Perl Monks concerning the following question:

How can I configure Perl::Tidy to work well with Perl6?

Two things that I already see that I need to enforce are

(1) Leaving whitespace around the pointy arrow  ->   for pointy blocks

(2) Not automatically moving braces.

I tried adding -fws to my .pertidyrc to "freeze whitespace", but it did not seem to work.

Replies are listed 'Best First'.
Re: Perl6: Configuring Perl::Tidy to deal with pointy blocks and braces.
by Anonymous Monk on Feb 17, 2011 at 23:42 UTC
    How can I configure Perl::Tidy to work well with Perl6?

    You can't, its not designed to work with Perl6

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://888812]
Approved by sundialsvc4
help
Chatterbox?
[LanX]: I told you the story about the “new" currency trading system of Dresdner Bank
[LanX]: ?
[Corion]: No, or I don't remember the story ;)
LanX my favourite don't tell me the proof of concept is good enough for production anecdote
[ambrus]: ah, it's one of thos
[Eily]: what, there's a difference between proof of concept and production?
[LanX]: 20 years ago traders were complaining about the latency of the trading system...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-03-29 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (348 votes). Check out past polls.