Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (5)
As of 2021-04-11 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?