The use of gzip is only an example.open (my $in, '-|', 'gzip -dc compressed_file.gz') || die "Can't run gzip: $!"; while (<$in>) { # Process the line of output } close $in;
In reply to Re: running shell commands from within perl
by cdarke
in thread running shell commands from within perl
by pablo78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |