I am not really sure How to use interpolation in this function.
You should not. You have already thought of backslashes to mask the quote marks.
Also put backslashes before the $ sigil of variables that should only be in use in the final shell script.
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
In reply to Re^3: creating Shell Script using Perl
by Happy-the-monk
in thread creating Shell Script using Perl
by pratikmonu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |