#!/usr/bin/perl use strict; use warnings; use Getopt::Long; use vars qw($opt_d $opt_a $opt_h); # GetOptions("-a" => \$opt_a, "-d" => \$opt_d, "-h" => \$opt_h,); help() if ($opt_h); if ($opt_a){ print "not implemented."; } elsif ($opt_d){ my $base = shift(@ARGV); my $base2= shift(@ARGV); print $base; print $base2; }