Quoting is not an identity function in Perl. Don't treat it like one or you'll eventually get bitten.
Make a proper identity function instead (simplified to only return the first arg instead of all of them):
sub ident { shift } bless \(ident($_)) => 'Foo' for 3;
A little more typing? Yes. Avoids subtle bugs? Yes :)
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re: On References to the Unnamed
by hardburn
in thread On References to the Unnamed
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |