CC: | mir [...] noris.net,fany [...] noris.net |
Subject: | documentation for head() is wrong |
From the POD:
| head
| my $head = head( $node );
|
| This function removes the head of the stream, modifying it
| in-place, and returns the head.
As far as I get it, this function does not modify anything in-place, but
just returns the head of the given stream. So a correct explanation
would IMHO be:
| head
| my $head = head( $stream );
|
| This function returns the head of the stream.
Regards,
fany