in reply to a reference by any other name...
erm, I'm not sure I understand your question - but anyway...
Are you just trying to take a copy of an array and then compare it to the original?
If that's the case, yes - you can do that. Consider the following:
Is that what you wanted?my @foo = qw(a b c d); my @bar = @foo; print "What I want\n" if (@foo eq @bar);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a reference by any other name...
by brian_d_foy (Abbot) on Feb 20, 2006 at 01:45 UTC |