#!/usr/bin/perl use strict; use warnings; open (SH, '<', '/path/to/shell-script') or die "$!\n"; my $script = join("\n", <SH>); qx/$script/; close SH; exit $?;
--
જલધર
In reply to simple converter :-)
by jaldhar
in thread sh to pl?
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |