Skip to content

Instantly share code, notes, and snippets.

@mshock
Created April 29, 2013 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mshock/5484922 to your computer and use it in GitHub Desktop.
Save mshock/5484922 to your computer and use it in GitHub Desktop.
most basic CLI arg parsing for Perl scripts which use warnings and/or strict: perl -s script.pl -test
#! perl -ws
use strict;
our $test ||= '';
print $test;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment