in reply to Re^6: Getting for() to accept a tied array in one statement
in thread Getting for() to accept a tied array in one statement
I don't understand, what you call 'not an array reference' is what I call 'object', so don't we mean the same thing?
In:
use ar ; my @ar ; my $art = tie @ar, "ar" ; @ar = (1, 2) ;
My point is, I cannot know what $art is, so to me this is a big no no:
my @ar-deref = @{$art};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Getting for() to accept a tied array in one statement
by hdb (Monsignor) on Apr 16, 2019 at 14:29 UTC | |
by Veltro (Hermit) on Apr 16, 2019 at 14:49 UTC | |
|
Re^8: Getting for() to accept a tied array in one statement
by haukex (Archbishop) on Apr 18, 2019 at 20:22 UTC | |
by Veltro (Hermit) on Apr 19, 2019 at 08:35 UTC |