13 lines
235 B
Perl
13 lines
235 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);
|