On Fri Sep 24 15:02:44 2010, mfollett wrote:
> When I attempt to run a script that dies it gives me the line it
>    happens on but not the name of the file it is happening in.  See
>    below for details.  I haven't yet found where this error is
>    happening so I can't give a simpler case than to say that if you
>    run the run-nibbler script in the Web.pm package this will happen.
> 
> Thanks,
> Matt Follett
> 
> > perl6 -v
> 
> This is Rakudo Perl 6, version 2010.08-49-g8cf7fcd built on parrot
>    2.7.0 r48628
> 
> Copyright 2008-2010, The Perl Foundation
> 
> > perl6 bin/run-nibbler
> ===SORRY!===
> Unsupported use of undef as a value; in Perl 6 please use something
>    more specific:
>       Mu (the "most undefined" type object),
>       an undefined type object such as Int,
>       Nil as an empty list,
>       *.notdef as a matcher or method,
>       Any:U as a type constraint
>       or fail() as a failure return
>           at line 65, near ") {\n      "
> 

$ ./perl6 foo.pl
line 1
line 2
line 3
  in sub die at src/gen/CORE.setting:416
  in block <anon> at foo.pl:3
  in <anon> at foo.pl:1


The file name is now given.


-- 
Will "Coke" Coleda

Reply via email to