Created
June 19, 2023 14:04
-
-
Save earnhardt3rd/16683cf2086f000b2775cffb91d32de8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'getopts.pl'; | |
Getopts('m:d:t'); | |
my $MODE = uc($opt_m) || ""; | |
my $DEBUG = $opt_d || 0; | |
if (defined $opt_t) { my %TEST = &_UNPAK();} | |
1; | |
sub _UNPAK { | |
my $INPUT = shift || ""; | |
my $tTag=""; | |
my $tFile=""; | |
my $gTag=""; | |
my $gFile=""; | |
print " _UNPAK($INPUT)\n"; | |
print " cwd:" . cwd . "\n"; | |
my $pCwd = cwd; | |
if (! -f $INPUT) { | |
chdir $PAK; | |
$INPUT = &selectFILE("$INPUT"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment