The capture method replaces the backticks.#!/usr/bin/perl use strict; use warnings; use IPC::System::Simple qw(capture); my $results = capture('gunzip -cf /usr/lib/perl5/5.8.8/CGI.pm'); print $results;
In reply to Re: Executing / Retrieving Output from Command
by Khen1950fx
in thread Executing / Retrieving Output from Command
by rpike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |