Hello, All: Is there a simple way to stop perl from complaining that a variable is only used once (possible typo at...)? e.g.,
#! /usr/bin/perl -w use Getopts::Std; getopts('d'); print "foo" if ($opt_d); If I use 'my()' perl complains that the variable is used in a void context. Since I'm testing for truth, I suppose that I could set $opt_d to zero before calling getopts('d')... -- Eric P. Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]