Change #!/usr/bin/perl to point to perl on your system. If you don't know
where you copy of perl is Try:
	% which perl
	/usr/local/bin/perl

Place flog wherever you want (usually /usr/local/bin)
Copy a .pl file from sample.conf as a template, modify as necessary