in reply to
how do i put an equasion in a variable, one which is evaluated at the time of use?
i think this should work. make $array2 hold a subroutine closure. this way, every time you call $array2, the closure will be re-evaluated.
Comment on
Re: how do i put an equasion in a variable
In Section
Seekers of Perl Wisdom