A tiny hint:
elsif (@ARGV eq 0) {
may work "accidentally", but you want == to compare numbers. (How to remember that.)
Alexander
In reply to Re: throw a warning if no argument were passed
by afoken
in thread throw a warning if no argument were passed
by deep27ak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |