RE: Getting a STDOUT value

2003-03-07 Thread Scot Robnett
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

RE: Getting a STDOUT value

2003-03-07 Thread wiggins
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

Re: Getting a STDOUT value

2003-03-06 Thread Wiggins d'Anconia
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

Getting a STDOUT value

2003-03-06 Thread Scot Robnett
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