Unix news is nothing but opensourse - this site features general information about Linux/Unix/Perl programming language.
Saturday, December 15, 2007
Reading from a pipeline with Perl
One of the great things about Perl is that it's very easy to run operating system commands, and read the output of those commands. Perl makes this process very easy and natural - it's just like reading data from a file.In this article we'll demonstrate the process of running external commands from within Perl, and then reading the output of those commands.