$ cat clo.pl #!/usr/bin/perl -s use strict; use warnings; use vars qw($company $location); $company ||= 'NO_COMPANY'; $location ||= 'NO_LOCATION'; printf "The %s company is located at $location\n", $company, $location; $ ./clo.pl The NO_COMPANY company is located at NO_LOCATION $ ./clo.pl -company='Grant Alpho System' The Grant Alpho System company is located at NO_LOCATION $ ./clo.pl -company='Grant Alpho System' -location=TheOtherGlobe The Grant Alpho System company is located at TheOtherGlobe