in reply to Re: ref == "REF"
in thread ref == "REF"
I don't think it's harder. If you write recursive code to handle deep references, you just find out you have a reference one level deeper. Hey, maybe we should also have a REFREF value, too, and REFREFREF, ...
As for Dumper.xs, I hadn't looked there, because my question was about Perl usage, which XS is not; it uses the perl API and uses SvTYPE directly. *That* bit of code never sees what ref would return on a variable.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: ref == "REF"
by Anonymous Monk on Oct 18, 2004 at 20:31 UTC | |
by gaal (Parson) on Oct 18, 2004 at 20:39 UTC | |
by Anonymous Monk on Oct 18, 2004 at 21:15 UTC | |
by Anonymous Monk on Oct 18, 2004 at 21:00 UTC | |
by gaal (Parson) on Oct 18, 2004 at 21:13 UTC |