Simplest way is to do what you did previously and then assign the array to a piddle:
my $img2Dpdl = pdl @image2D;
David
In reply to Re: How to fill the contents of a 2D piddle?
by dwm042
in thread How to fill the contents of a 2D piddle?
by xanadol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |