in reply to Re: backticks in CGI
in thread trouble populating array with input from a file

For maderman 's particular problem, I don't think your "debug" print out would tell him anything useful.

I think I would do

my $output = `uptime.pl`; # or qx/ / print $output

or

my $exit_status = system( "uptime.pl" ); print $exit_status;

first to make that the uptime.pl script is in fact running

Replies are listed 'Best First'.
Re: Re: Re: backticks in CGI
by synapse0 (Pilgrim) on Jul 13, 2001 at 10:27 UTC
    well.. @lables is being populated, so it looks like the file is being run.. the problem seems to be with the split.. so my method is check what return values from split are...it's just a debugging method to see what's coming from the split.. one step closer to getting it to run..
    -Syn0