I am trying to call a function using an interpolated string as the parameter.
Can it be done like this or do I need to stick an eval around it or something like that??
my $dirname = "/experiments/$experiment_name"; Fyp::Security::log( "Creating dir $dirname\n" );
I am using strict
Thanks,
Mark
In reply to Pre-evaluate string parameter by shiftee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |