in reply to Re: PDL, applying function
in thread PDL, applying function

thanks.. I found today similar solution to what you say .. i.e.:
$x->where($x < 0) .= -1

the link I already saw 2 days ago :)
Can't figure out yet one-pass solution... but at least I dont have to make it array, loop over it and then reconstruct the piddle.
thanks again