in reply to Discover a package global's symbol name given a reference

It worked but not with that '\(', the compiler thinks that I am not starting a real '(' (I guess).

So I put a \ in front of every variable to pass.

Sorry, might have been a mistake or something that I have copied incorrectly. I have downloaded the code again and it now works as you stated. All ok!

Sorry again!

.{\('v')/}
_`(___)' __________________________
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established.
  • Comment on Re: Discover a package global's symbol name given a reference

Replies are listed 'Best First'.
Re^2: Discover a package global's symbol name given a reference
by davido (Cardinal) on Sep 17, 2004 at 05:52 UTC

    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