Skip to content

Instantly share code, notes, and snippets.

@tryperl
Created January 23, 2014 20:29
Show Gist options
  • Save tryperl/8586168 to your computer and use it in GitHub Desktop.
Save tryperl/8586168 to your computer and use it in GitHub Desktop.
Created by www.tryperl.com.
use strict;
use warnings;
my $includeOverrideArg;
my $includeOverride;
if (\$includeOverrideArg =~ /include_(\d{3})$/ ) {
$includeOverride = $includeOverrideArg;
} else {
&shortUsage("Error: invalid include version passed with -b");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment