Hello all,
As soon as I add the MAIN sub to my module file, my test file complains:
Method 'chars' not found for invocant of class 'Failure'
in 'Cool::substr' at line 2365:CORE.setting
in 'process-cmd-args' at line 7414:CORE.setting
in at line 7492:CORE.setting
in 'MAIN_HELPER' at line 1
Thanks, Bruce. That eliminated the error.
-Original Message-
From: Bruce Gray [mailto:bruce.g...@acm.org]
Sent: Wednesday, February 16, 2011 5:17 PM
To: Bottoms, Christopher A
Cc: Bruce Gray; perl6-users@perl.org
Subject: Re: MAIN Sub
On Feb 16, 2011, at 4:14 PM, Bottoms, Christopher A
Thanks Carl! I wasn't sure if it were a bug or if I were simply using it wrong.
-Original Message-
From: Carl Mäsak [mailto:cma...@gmail.com]
Sent: Wednesday, February 16, 2011 6:17 PM
To: Bottoms, Christopher A
Cc: perl6-users@perl.org
Subject: Re: MAIN Sub
Christopher (>):
&