On Wed, Nov 11, 2009 at 6:41 PM, Doug Hunt <[email protected]> wrote:
> Hi all:  Thats cool!  My prosaicly, you could just do:
>
> p $q->rotate(-1)->xchg(0,1)
>
> [
>  [0 1 0]
>  [0 0 0]
>  [0 0 0]
> ]


that's not really what I wanted.

perldl> p $a

[
 [0 0 0]
 [0 1 0]
 [0 2 0]
]

perldl> p $a->rotate(-1)->xchg(0,1)

[
 [0 1 2]
 [0 0 0]
 [0 0 0]
]



while I would like to get

[
 [0 1 0]
 [0 2 0]
 [0 0 0]
]


Gabor

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

Reply via email to