Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perltidy: an option to keep sub($args){} as a single line?

by runrig (Abbot)
on Jun 16, 2016 at 22:53 UTC ( #1165917=note: print w/replies, xml ) Need Help??


in reply to Perltidy: an option to keep sub($args){} as a single line?

Really? I don't get that. What version of perltidy? I get this with both v20120714 and v20160302
$fs->traverse('/foo')->filter( sub ($name, $dir) { $name !~ /^\./; } ) +; $fs->traverse('/foo')->filter( sub { $_[0] !~ /^\./; } ) +;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2023-12-02 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (18 votes). Check out past polls.

    Notices?