Here's the whole shootin' match...
Wow, man. No offense intended but we need to clean that up a little before I can say a lot about how it is or is not working. Did you know we won't bill you for using extra whitespace? <laughs>
First two questions:
my $is_cgi = ! @ARGV; $is_cgi = 1;
Okay, this looks like we've decided to be a CGI script officially. Is that right? If so, we can drop a LOT of baggage.
defined $d or usage("Input data file was not given");
Where is this usage() subroutine???
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>