eval qq{printf("$opt_F", 'foo', 'bar')};
But evaling something that is given on the commandline isn't probably a good idea!
Use taint mode and untaint it first!
In reply to Re: Changing a single quoted string into an interpolated string
by busunsl
in thread Changing a single quoted string into an interpolated string
by Coyote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |