- or download this
#!/usr/local/bin/perl -w
use Getopt::Long;
...
if ($DELETE) {
...
}
- or download this
# the short form
script.pl -a -r -d
...
script.pl --add --remove --delete
script.pl --delete
...
- or download this
#!/usr/local/bin/perl -w
use Getopt::Long;
...
print "Command [$action] is NOT monitored\n";
}
}
- or download this
Command [ADD] is monitored
Command [ADD] is monitored
...
Command [ADD] is monitored
Command [DELETE] is monitored
Command [FREE] is NOT monitored