glue works fine in your example. Use:
$large_1d_pdl = null()->glue(0,$p1,$p2,$p3);
This is a kludge -- append() really ought to work in this case.
On Jan 21, 2009, at 11:15 AM, Doug Hunt wrote:
> Hi all: Is there a fast function for joining many 1-D PDLs of varying
> length? I tried 'append', 'glue' and 'cat' and they all were lacking.
>
> I'm interesting in something like:
>
> $p1 = sequence(5);
> $p2 = sequence(6);
> $p2 = sequence(7);
> @p = ($p1, $p2, $p3);
> $large_1d_pdl = magic_multi_append(@p);
>
> (Except the number of 1-D PDLs may be large)
>
> Thanks!
>
> --Doug
>
> [email protected]
> Software Engineer IV
> UCAR - COSMIC, Tel. (303) 497-2611
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl