in reply to Re^6: Why is const x const not a const?
in thread Why is const x const not a const?
I don't know why B::Concise doesn't dump the contents of array, but B::Concise does show that the array is in the optree.
$ perl -MO=Concise,-exec -e'my @a = 1..1000' 1 <0> enter 2 <;> nextstate(main 1 -e:1) v:{ 3 <0> pushmark s 4 <$> const[AV ] s ^ | 5 <1> rv2av lKP/1 6 <0> pushmark s 7 <0> padav[@a:1,2] lRM*/LVINTRO 8 <2> aassign[t4] vKS/COMMON 9 <@> leave[1 ref] vKP/REFC -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Why is const x const not a const?
by moritz (Cardinal) on Jan 24, 2012 at 06:59 UTC | |
by ikegami (Patriarch) on Jan 24, 2012 at 07:07 UTC |