Wow! Quite a detailed response...thank you.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 9:25 AM
To: Scot Robnett
Cc: [EMAIL PROTECTED]
Subject: RE: Getting a STDOUT value
Remember to include the list in your replies, so that
Remember to include the list in your replies, so that everyone can help and be helped.
On Fri, 7 Mar 2003 08:52:04 -0600, "Scot Robnett" <[EMAIL PROTECTED]> wrote:
> Thanks - but I don't understand how that redirect works. I've read about
> open, s
Scot Robnett wrote:
Does anyone know how I capture the value of an operation that defaults to
STDOUT? For instance if I want to do something like
#!/usr/bin/perl -w
use strict;
my $value = `perl -c someapp.cgi`; # prints to STDOUT
print "Content-type: text/html\n\n";
print "Result: $value";
This
Does anyone know how I capture the value of an operation that defaults to
STDOUT? For instance if I want to do something like
#!/usr/bin/perl -w
use strict;
my $value = `perl -c someapp.cgi`; # prints to STDOUT
print "Content-type: text/html\n\n";
print "Result: $value";
This obviously won't wo