- or download this
if (@ARGV)
{
...
Download(GetArgs());
EXIT(0, 'SUCCESS. Argument was received from stdin.');
}
- or download this
if (@ARGV) {
if (@ARGV == 1) {
...
Download(GetArgs());
EXIT(0, 'SUCCESS. Argument was received from stdin.');
- or download this
use strict;
use warnings;
...
PrintUsage();
EXIT(-1, 'Argument missing.');