On Mon, Jul 08, 2002 at 06:36:07PM +0200, Eugene van der Pijll wrote:
> This course was very interesting (though I didn't like it at first,
> stuck at about 180), because of the many different algorithms used, but
> also the number of different ways of die'ing. Here are some of the error
> messages my solutions returned when fed a cyclic graph:
>
> Undefined subroutine &main::x called
> Illegal division by zero
> Can't take log of 0
> Killed
>
> And my favorite:
>
> Not a subroutine reference
>
> Were there more possibilities?
I tried dying with:
exec$_
which amazingly passes all the tests and dies with various shell error messages
although one could write tests that invalidate this approach. Anyway, it was
one character too long.
pom