Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I wonder, is there a way to issue a unix command using perl let say, I want to type ls -la and grab the output

Replies are listed 'Best First'.
(ichimunki) re: Unix commands from within Perl?
by ichimunki (Priest) on Jan 27, 2001 at 04:03 UTC
    In a word, TIMTOWTDI. There are several different ways to interact with the shell using Perl. In addition, for your specific example, there are several ways to do that without relying on a shell. So, it sounds like maybe Perl is a good fit for your project/needs. Check Outside Links and Library for plenty of resources to get you started with Perl.
    A reply falls below the community's threshold of quality. You may see it by logging in.