in reply to looking for Advice on how strict i should really be

Try "use vars ...". I dont know 'our', havent read the perldoc yet. This should work, unless there is a bug in perl2ex:
use strict; use vars '$opt_h'; getopts('h'); if ($opt_h) { print 'do something'; }
Give it a shot.