Julien Quint wrote: > 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. > Hmm, how about do$_ ?? I had one where I got perl to core dump on a hash assignment, but alas, I improved my solution and no longer hit the handy bug. I never found out if the bug was MacOSX-only or not. :-) ChrisThread Previous | Thread Next