#!/usr/bin/perl print "It is in my nature to segfault,\n"; kill 11,$$; print "how can I not.\n";

Replies are listed 'Best First'.
Re: Zen Perl Koan
by Fletch (Bishop) on Oct 24, 2007 at 16:32 UTC

    Since you reversed the argument order to kill, unless you manage to run this and luck out to get a process ID of 11 I don't think it means what you think it means. . . (unless of course the goal was to randomly exit with a SEGV . . .).

    Update: Stealth updates FTL. The original had kill $$, 11;; so yeah this is moot now . . .

      Seems like it's in the right order (mabye it's been updated).
Re: Zen Perl Koan
by zentara (Cardinal) on Oct 24, 2007 at 18:41 UTC
    kill 9 ...... and let God sort em out. :-)

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Zen::Koan? Re: Zen Perl Koan
by rgiskard (Hermit) on Jan 11, 2008 at 11:50 UTC
    This perl Koan was written prior to CPAN's Zen::Koan. Although I probably wouldn't use it anyways, I do value it for its repository of 100 real koans in Zen::Koans.