in reply to Re^8: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
B::Concise lists what opcode flag each letter represents. "M"odifiable is the relevant one here.
Interesting tidbit:
As an optimisation, lvalue subs weren't making arylen as Modifiable.
$ perl -MO=Concise,-exec,f -e'sub f :lvalue { $#a }' 2>&1 | grep av2ar +ylen 4 <1> av2arylen sK/1
My patch relied on that flag, so it was buggy. The second patch I mentioned made lvalue subs mark arylen as Modifiable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Does @{ } copy arrays?
by QM (Parson) on Oct 30, 2009 at 14:22 UTC | |
by ikegami (Patriarch) on Oct 30, 2009 at 14:55 UTC |