in reply to Re: 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?
Ah, i see:
karls-mac-mini:monks karl$ perl -E 'sub foo{...}; foo();' Unimplemented at -e line 1. karls-mac-mini:monks karl$ perl -E 'sub bar{...;}; bar();' Unimplemented at -e line 1
Both are valid. I didn't know this.
I didn't run perl -c on the concerning file and thought things went wrong.
On the other hand: I don't want perltidy to change my valid code. Nitpicking, sure.
Thanks and best regards, Karl
«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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can i prevent perltidy from adding a semicolon after an ellipsis?
by LanX (Saint) on Nov 18, 2017 at 19:46 UTC | |
by karlgoethebier (Abbot) on Nov 18, 2017 at 19:48 UTC |