in reply to Re: Document Contain No Data
in thread Document Contain No Data

POST CODE!!!!!!!!!

Most likley you are not supplying the value of one of your variables.

This is where good debugging techniques come in handy. Litter your script with some print "Passed 1st loop\n"; type debugging messages and see how far the program gets.

ANYTHING that gets values from a command line script should check for value....

$foo = `dir C:\bar\`; unless ($foo ne "") {die("Could not get directory listing\n");} @foobar = split '', $foo;

Oh, yeah, post yer code!!!!

And do you have warnings and Strict turned on??

#! /usr/bin/perl -w use Strict;

Are you using CGI.pm?? What about

$co = new CGI; print $co->header, $co->start_html(-title=>'Retail Ad Usage');
~Hammy