in reply to Re^8: Interesting read: "Why I use perl and still hate dynamic language weenies too"
in thread Interesting read: "Why I use perl and still hate dynamic language weenies too"
SV (scalar), AV (array), HV (hash), GV (glob), etc are different, independent structures. Different opcodes are used to interact with them. For example, padsv is used to fetch an SV lexical, while padav is used to fetch an AV lexical.
SVs can be IV (signed int), UV (unsigned int), NV (decimal number), PV (string), RV (reference), etc. It can even be certain combinations of those. What you said in your earlier post does apply to scalars.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Interesting read: "Why I use perl and still hate dynamic language weenies too"
by dewey (Pilgrim) on Apr 17, 2007 at 18:50 UTC | |
by ikegami (Patriarch) on Apr 17, 2007 at 19:26 UTC | |
by dewey (Pilgrim) on Apr 17, 2007 at 19:51 UTC | |
by ikegami (Patriarch) on Apr 17, 2007 at 19:02 UTC |