On Tue Jan 14 13:43:50 2014, coke wrote:
> On Wed Feb 16 15:14:08 2011, masak wrote:
> > $ cat A.pm
> > use v6;
> > sub MAIN {
> > }
> > 
> > $ cat foo
> > use v6;
> > use A;
> > 
> > $ perl6 foo
> > Method 'chars' not found for invocant of class 'Failure'
> >   in 'Cool::substr' at line 2394:CORE.setting
> >   in 'process-cmd-args' at line 7489:CORE.setting
> >   in <anon> at line 7567:CORE.setting
> >   in 'MAIN_HELPER' at line 1
> >   in main program body at line 1:A.pm
> 
> 
> This now completes without error. Closable with tests.

A test for a condition very much like this is in S06-other/main. t- it makes 
sure that the external file loads and that MAIN isn't run. Calling that 
sufficient, closing ticket.

-- 
Will "Coke" Coleda

Reply via email to