to me. Some compilers
may choose to reorder even without optimization turned on. I'd say that it
is a bug in Parrot if it requires optimization to be off for this code - how
many different compilers have you tried?
--
Alan Burlison
--
"returned the array".
So then in fact it is impossible to return an array - yes? You can
either return a single scalar or a list. The closest you can come to
returning an array as an entity is to return a reference to it - \@a.
Have I got that straight?
--
Alan Burlison
other language allows such poetry as
"@{$hash}{@keys} = @values"? I humbly submit that perl without the
perlisms is not perl.
--
Alan Burlison
CARP - CAmpaign for Real Perl
quite like this. I'd like it even more if they were package
scoped and/or localisable. My choice of warning level in my package
shouldn't affect your choice in your package.
--
Alan Burlison
access will have to check an 'are you typed' flag.
--
Alan Burlison