develooper Front page | perl.perl6.language | Postings from February 2016

Re: It's time to use "use 6.c"

Thread Next
From:
yary
Date:
February 7, 2016 01:20
Subject:
Re: It's time to use "use 6.c"
Message ID:
CAG2CFAZdhcB9VwjueZkML_72VBVt=uKyzg+=tJ2p0ETvc5LorA@mail.gmail.com
Thanks all... I expect hiccups... just venting to help (future coders
and current self)... while we're on this topic

a) lwp-download.pl doesn't have a "use 6". Since Windows ignores the
shebang, it invokes perl5 which is registered to handle "pl" files,
and gives a bunch of syntax errors. If it did have "use 6" at the top,
then it would give a single more meaningful error... yet another
reason for module authors to put "use 6" in their code.

b) subject line should be "use 6.c", the "v" is depreciated... edited

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About