in reply to Re: Re: Re: Poor's man command line argumentsin thread Poor's man command line arguments
Or use 'use vars' or 'our':
#!/usr/bin/perl -s use strict; use warnings; use vars qw($foo); print "bar!\n" if $foo; [download]