What you posted is not valid Perl. Running what you think your Perl script is will make Perl tell you so. Please correct your script. Maybe you want to read system, but before that, also do read perlintro and perlsyn.
Perl is not a shell or shell-alike language.
In reply to Re: Convert Shell script to Perl
by Corion
in thread Convert Shell script to Perl
by akrrs7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |