Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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
Node Status?
node history
Node Type: note [id://1165917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2019-04-23 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (118 votes). Check out past polls.

    Notices?