- or download this
sub tail {
...
else { return $s->[1] }
}
- or download this
sub upto {
...
node( $m, promise { upto($m+1, $n) } );
}
- or download this
sub promise (&) { $_[0] }
- or download this
sub node {
...
return [$head, $tail];
}
- or download this
'Can't call method "promise" on an undefined value.'
- or download this
Odd number of elements in anonymous hash at stream.pl line 19.
Use of uninitialized value in anonymous hash ({}) at stream.pl line 19
+.
- or download this
node( $m, promise ( upto($m+1, $n) ) );