Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by runrig (Abbot)
on Jun 16, 2016 at 22:53 UTC ( [id://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 learning in the Monastery: (2)
As of 2024-03-19 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found