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

Re^3: How can i prevent perltidy from adding a semicolon after an ellipsis?

by LanX (Archbishop)
on Nov 18, 2017 at 19:46 UTC ( #1203758=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can i prevent perltidy from adding a semicolon after an ellipsis?
in thread How can i prevent perltidy from adding a semicolon after an ellipsis?

From the docs You can only use the elliptical statement to stand in for a complete statement.

So the semicolon is needed, if the "yadda yadda" is followed by other statements.

And a trailing semicolon in a functions body is certainly not bad style.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^3: How can i prevent perltidy from adding a semicolon after an ellipsis?

Replies are listed 'Best First'.
Re^4: How can i prevent perltidy from adding a semicolon after an ellipsis?
by karlgoethebier (Monsignor) on Nov 18, 2017 at 19:48 UTC

    Thanks Rolf.

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2019-11-21 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (104 votes). Check out past polls.

    Notices?