And, aside from the other good advice above, you should add 'use strict;' after the shebang line ('#!/usr/bin/perl').
In reply to Re: foreach/while loop help
by u65
in thread foreach/while loop help
by bshah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |