You are confused about so many things that it does not make sense to give you small pointers. You need to take a step back and start learning Perl. See the books section of learn.perl.org, and maybe the Modern Perl book by chromatic, if you're in need of a free book and already know how to program in some other programming language.
In reply to Re^3: Convert Shell script to Perl
by Corion
in thread Convert Shell script to Perl
by akrrs7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |