erabus has asked for the wisdom of the Perl Monks concerning the following question:

Do you know a definition or reference for the term "Spork Error" ?
As far as I can tell it is an "impossible" error condition:
(From Tree::DAG_Node)
sub leaves_under { # read-only method: return a list of all leaves under myself. # Returns myself in the degenerate case of being a leaf myself. my $node = shift; my @List = (); # $node->no_cyclicity; $node->walk_down({ 'callback' => sub { my $node = $_[0]; my @daughters = @{$node->{'daughters'}}; push(@List, $node) unless @daughters; return 1; } }); Carp::croak "Spork Error 861: \@List has no contents!?!?" unless @Li +st; # impossible return @List; }

Replies are listed 'Best First'.
Re: spork error
by Bloodnok (Vicar) on Apr 10, 2009 at 23:51 UTC
    Have you tried asking the author &/or maintainer of Tree::DAG_Node ??

    Or, alternatively, Acme::Spork may light the way for you - as a brief foray onto google (looking for perl & spork) revealed to me...

    Update:

    Added Acme::Spork

    A user level that continues to overstate my experience :-))
Re: spork error
by ikegami (Patriarch) on Apr 10, 2009 at 22:43 UTC

    I give up, what is it?

    Original parent in its entirety
    what is a "spork error" ?
Re: spork error
by erabus (Sexton) on Apr 11, 2009 at 00:06 UTC
    Illumination at last!
    Thanks
      Would you care to fill the rest of us in?