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

need -c help

Thread Next
From:
ToddAndMargo
Date:
May 11, 2018 02:37
Subject:
need -c help
Message ID:
61906601-eaee-b2ca-9086-6c81f4258f4e@zoho.com
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
programs.)

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


Many thanks,
-T

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