in reply to How to reference variables in another package via keyword names

This,
$in::$_
is not a valid syntax!

You should write:

${"in::$_"}

Graciliano M. P.
"Creativity is the expression of the liberty".

Replies are listed 'Best First'.
Re^2: How to reference variables in another package via keyword names
by etcshadow (Priest) on Jun 26, 2004 at 22:05 UTC
    If you're using strict (which you ought to be), then you'll also have to wrap that with no strict refs, since that uses symbolic references.

    You could also just use an eval if you wanted to avoid symbolic references all together.

    ------------ :Wq Not an editor command: Wq
Re^2: How to reference variables in another package via keyword names
by theAcolyte (Pilgrim) on Jun 26, 2004 at 21:56 UTC
    Yep ... I wasn't thinking properly. THANK YOU! Seriously. To the first poster: incorrect ... that list is simply the keywords, not the vars themselves.