perlquestion
princepawn
There was a near article in about Issue 19 of the Perl Journal called "Design Patterns" in which this guy had a neat one-liner. Let's say we have;
<code>
$agenda = [ \a, \b, \c ];
</code>
where a, b, c are subs which expect and return arrays.
<p>
He wrote a one-liner which ran through the subs, taking the output of one and sending it in as the input of the next sub.
<p>