Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 2146👍, 0💬
Popular Posts:
How To Escape Special Characters in SQL statements? - MySQL FAQs - Introduction to SQL Basics There ...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML ...
How To Create an Add-to-Google-Reader Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS ...
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...