Well, there's your problem ... you need to learn the basics of programming first.
http://perldoc.perl.org/perlsyn.htmlPlay around with the lego blocks of syntax to get an idea of how they work and how they can fit together before you try to get fancier.
In reply to Re^5: substitute strings
by Anonymous Monk
in thread substitute strings
by tannx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |