Skip to content

Instantly share code, notes, and snippets.

@taoliu
Created April 30, 2020 13:48
Show Gist options
  • Save taoliu/5195d38510f15c0cc57fa17d9e50cf48 to your computer and use it in GitHub Desktop.
Save taoliu/5195d38510f15c0cc57fa17d9e50cf48 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl -w
# Time-stamp: <2008-03-03 11:24:07 Tao Liu>
#
# By: Tao Liu <[email protected]>
#
use strict;
die "need x paras: $0 <options> [y=blah]\n" if @ARGV < x;
my $unnamed_option = shift;
my $named_option;
foreach (@ARGV) {
if (/^y=(.*?)$/) {
$named_option = $1;
}
}
sub main {
}
main ();
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment