Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
✍: Guest
The second is disallowed under `use strict "refs"'.
Dereferencing a string with *{"STR"} is disallowed
under the refs stricture, although *{STR} would not
be. This is similar in spirit to the way ${"STR"}
is always the symbol table variable, while ${STR}
may be the lexical variable. If it's not a
bareword, you're playing with the symbol table
in a particular dynamic fashion.
2013-09-16, 2310👍, 0💬
Popular Posts:
Which bit wise operator is suitable for turning on a particular bit in a number? The bitwise OR oper...
How is normally a project management plan document organized ? PMP document forms the bible of a pro...
How To Merge Cells in a Column? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you ...
How can I include comments in HTML? An HTML comment begins with "<!--", ends with "-->...
How To Create an Add-to-My-Yahoo Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...