Hello,
I am going a perl file called snacktime.pl I got from:
http://www.planb-security.net/wp/snacktime.html
I do not understand how the "shift and die" line works in the following
code section:
--snip--
# Filling in all the options.
my %options;
getopts('hvVmt:p:f:w:D:s:P:I:',\%options) |
Michael Gale wrote:
> Hello,
Hello,
> I am going a perl file called snacktime.pl I got from:
>
> http://www.planb-security.net/wp/snacktime.html
>
> I do not understand how the "shift and die" line works in the following
> code section:
>
> shift and die "Missing some options. Try $0 -h for he