in reply to •SPOILERS Re: (OT) Interview questions -- your response?
in thread (OT) Interview questions -- your response?
UPDATED@array[$_,-$_-1]=@array[-$_-1,$_] for 0..@array/2;
Is what it should have been@array[$_,-$_-1]=@array[-$_-1,$_] for 0..$#array/2;
I must have been halucinating when I tested it.
But frankly I stand by my too complex comment regardless.
Yves / DeMerphq
---
Software Engineering is Programming when you can't. -- E. W. Dijkstra (RIP)
|
---|