File: DHT.pm

package info (click to toggle)
pkg-haskell-tools 0.12.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: haskell: 691; sh: 591; perl: 308; makefile: 10
file content (21 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

use warnings;
use strict;

sub usage ($) {
	my $usage = shift;
	if ($ARGV[0] and ($ARGV[0] eq "--help" or $ARGV[0] eq "-h")) {
		print $usage;
		exit(1);
	}
}

sub manpage ($) {
	my $usage = shift;
	if ($ARGV[0] and ($ARGV[0] eq "--manpage")) {
		print $usage;
		exit(1);
	}
}

return 1;