in reply to Re: Re: Re: Poor's man command line arguments
in thread Poor's man command line arguments

If however, strict is turned off within the scope where these variables are employed, everything is happy once more.

Or use 'use vars' or 'our':

#!/usr/bin/perl -s use strict; use warnings; use vars qw($foo); print "bar!\n" if $foo;