What version of Perl are you using? Current Perl (and at least going back a few versions), the \ operator is distributed over lists, so that \( $item1, $item2 ) is the same as ( \$item1, \$item2 ). I wrote this using Perl 5.8.4.
What error message did you get?
Dave
In reply to Re^2: Discover a package global's symbol name given a reference
by davido
in thread Discover a package global's symbol name given a reference
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |