in reply to Testing a command line argument
Ive noticed that when using 'eq' it likes to use '' instead of //. So try swapping the eq to =~if ( $ARGV[1] =~ (/^ALL|0)$/i) )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing a command line argument
by choroba (Cardinal) on Dec 10, 2015 at 17:46 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |