This is not considered "safe" because it is possible to inject unwanted code into the eval string.my $a = eval "2 $_ 2";
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
-- Dr. Cox, Scrubs
In reply to Re: interpolating operators within strings
by NetWallah
in thread interpolating operators within strings
by abualiga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |