hi barry --
In a message dated 12/1/2009 5:34:34 PM Eastern Standard Time,
bbre...@stellarmicro.com writes:
> I have a situation where I specifically want to pass the name of an
> array to a subroutine, and allow that subroutine to modify values in
> the caller's copy of the array.
this is c
Barry Brevik wrote:
> I have a situation where I specifically want to pass the name of an
> array to a subroutine, and allow that subroutine to modify values in the
> caller's copy of the array.
my @arr = eval '@' . $name;
Though PBP says it's bad, because it's compiling during eval so it takes
Barry Brevik wrote:
> Using Active Perl 5.8.8.
>
> I have a situation where I specifically want to pass the name of an
> array to a subroutine, and allow that subroutine to modify values in the
> caller's copy of the array.
>
> I feel incredibly stupid, because I have a bunch of Perl books and
Using Active Perl 5.8.8.
I have a situation where I specifically want to pass the name of an
array to a subroutine, and allow that subroutine to modify values in the
caller's copy of the array.
I feel incredibly stupid, because I have a bunch of Perl books and have
worked on this a long time, a