develooper Front page | perl.perl6.users | Postings from May 2018

need -c help

Thread Next
May 11, 2018 02:37
need -c help
Message ID:
Hi All,

I am converting a YUGE program over from Perl 5 to
Perl 6 (Perl 5's subs drive me INSANE).

$ perl6 -c GetUpdates.pl6
===SORRY!=== Error while compiling /home/linuxutil/CurlUtils.pm6
Variable '$TimeOut' is not declared. Did you mean '$Timeout'?
at /home/linuxutil/CurlUtils.pm6:24
------>    if ⏏$TimeOut { $TimeOutStr = "--connect-time

This picked up a bogus error in a pm6.  ($TimeOut is declared in
the sub's declaration and the pm6 is working well with other

Is there a way to tell -c to not go looking at the subs and just
stay on the pl6 in question?

Many thanks,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About