On Fri, 2007-11-02 at 15:05 +1300, Trevor Carey-Smith wrote:
> There may be a more elegant way, but you could try:
> 
> $work($work->isbad;?) .= $original($work->isbad;?)

I couldn't get that to work until I changed it to:

    $work->where( $work->isbad ) .= $orig->where( $work->isbad );

That's pretty nice -- I'd overlooked using an index in the lvalue.

Thanks!

Tod

-- 
Tod Hagan
Information Technologist
AIRMAP/Climate Change Research Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
Durham, NH 03824
Phone: 603-862-3116



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to