Skip to content

Instantly share code, notes, and snippets.

@yichao0319
Last active February 15, 2018 17:23
Show Gist options
  • Save yichao0319/6755118 to your computer and use it in GitHub Desktop.
Save yichao0319/6755118 to your computer and use it in GitHub Desktop.
perl:new code
#!/bin/perl
##########################################
## Author: Yi-Chao Chen @ Hauoli
##
## - input:
##
## - output:
##
## - e.g.
##
##
##########################################
use strict;
use POSIX;
use List::Util qw(first max maxstr min minstr reduce shuffle sum);
#############
# Debug
#############
my $DEBUG0 = 0;
my $DEBUG1 = 1;
my $DEBUG2 = 1; ## print progress
my $DEBUG3 = 1; ## print output
#############
# Constants
#############
my $input_dir = "";
my $output_dir = "";
#############
# Variables
#############
#############
# check input
#############
if(@ARGV != 1) {
print "wrong number of input: ".@ARGV."\n";
exit;
}
$ARGV[0];
#############
# Main starts
#############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment