note
Anonymous Monk
The incorrect assumption here is that sub1 is returning an array.
<p>In perl5, subs can return scalars or lists. Since it's not returning a (scalar) reference to an array, the only option is to store the list into a (possibly anonymous) array and pass a reference into sub2
<p> tjd
1021659
1021694
5