Presuming $_ is not tied in such a way that it would trigger code that "die"-ed, your snippet is the same as:$string = eval { $_ };
$string = $_;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^3: How to evaluate a variable in a text string
by merlyn
in thread How to evaluate a variable in a text string
by tariqahsan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |