On Thu, 11 Oct 2001, Chuck wrote:
> I have several CGI's that use system() to get various OS details.
>
> What is the most reliable way to glean this information after using this
> command:
>
> For example:
>
> #!/bin/perl
>
> system("ls -l /tmp")
>
> How can I get that data?
Use backticks:
my $output = `ls -l /tmp`;
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
bug, n:
A son of a glitch.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]