in reply to Re^3: accessing variable vaule outside for loop
in thread accessing variable vaule outside for loop
The array index negate-adjust trick (easily encapsulated in a subroutine) is particularly useful when dealing with 'large' arrays, the reversed elements of which can then be accessed in-place: no reversed copy, possibly quite expensive in terms of space, need be made.
|
|---|