in reply to Re^3: Is this a bug, or expected behavior?
in thread Is this a bug, or expected behavior?
Why? I mean, I can see that this:
Would require that 1..4 get evaluated in scalar context, but why would 11..12 also need to be evaluated in scalar context? Why doesn't the last thing in the -> chain inherit the context from the overall chain?$b = [ $a->[1..4]->[11..12] ];
--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Is this a bug, or expected behavior?
by merlyn (Sage) on Mar 17, 2006 at 16:16 UTC | |
Re^5: Is this a bug, or expected behavior?
by Fletch (Bishop) on Mar 17, 2006 at 16:13 UTC | |
by fizbin (Chaplain) on Mar 17, 2006 at 17:20 UTC |
In Section
Seekers of Perl Wisdom