Klaas-Jan Stol (via RT) wrote:
I propose to remove the optional comma for .sub flags. [...]
sub :load :init :main
# ...
end
Agreed and approved. Please take the usual deprecation steps, and make a
quick note of the syntax change in the draft PIR PDD
(docs/pdds/draft/pdd19_pir.pod).
Thanks
Klaas-Jan Stol (via RT) schrieb:
.sub :load, :init :main ## newbies may wonder why there's a comma sometimes
#...
.end
Instead, it should look like this:
.sub :load :init :main
# ...
.end
The version without the ',' looks saner and consistency is a good thing.
So I second this proposal.
Re
# New Ticket Created by Klaas-Jan Stol
# Please include the string: [perl #45697]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=45697 >
Hi,
.sub-routines have flags, such as :load, :main, etc.
These flags can currently b