my @lines = `cat <2nd_script>`;
for each my $line (@lines) {
do something;
}
I guess this should work.I'm presuming that,"normal perl commands' means,
each perl stmt in the script. correct me incaes i'm wrong.
On Mon, 22 Dec 2003, Tushar Gokhale wrote:
> I'm reading another perl script into array and want to commands from the the
> array as if normal perl commands. How do I do it?
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>