12 lines
233 B
Perl
12 lines
233 B
Perl
#!/usr/local/bin/perl -w
|
|
|
|
# Declare the subroutine named usage
|
|
sub usage
|
|
{
|
|
my ($program, $exitCode) = @_;
|
|
|
|
print "Usage: $program [-v] [-h]\n";
|
|
exit $exitCode;
|
|
}
|
|
|
|
usage ($0, 1); |