ok, heres a good one... can i place a "statement" inside a string then "execute" that string? i'm using an external file for the additional statements for the original script and therefore cannot use the "eval" function, because it never comes back to my original script. my goal is to be able to provide specific perl script "modules" for different cases in the "original" script. Example:
$Dummy = "\$Object = \"testing\";"; #assign a perl statement to '$D +ummy' $Dummy; #execute the perl statement that is 'inside +' $Dummy
In reply to staements in strings by PriNet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |