in reply to how do i use module vars while using use strict; ?

Put this in right after use strict:
use vars qw($opt_h $opt_d $opt_t);

UDPDATE:
jerones suggested me to point you to our and a great discussion on how it works: Why is 'our' good?.

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--