Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Never, never, never

by Roy Johnson (Monsignor)
on Apr 22, 2005 at 22:27 UTC ( [id://450605]=note: print w/replies, xml ) Need Help??


in reply to Re: Never, never, never
in thread Never, never, never

Actually, you can hit the symbol table directly, so you never need to use symbolic references per se. Of course, as long as you're aware that you're going into the symbol table, and it's the Right Thing To Do, there's no reason not to use the sym refs.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^3: Never, never, never
by theorbtwo (Prior) on Apr 22, 2005 at 22:32 UTC

    Eh, there's a moral equivlency there. $Package::{'bar'} is a symref just as much as ${'$bar'}, even if one violates use strict 'refs'; and the other does not, I'd say. (But I think there's a good argument the other direction as well.)


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://450605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found