in reply to Return code and output of system command?

update: ooops didn't read the question good enough

Use Shell, this module comes with perl5's basic package and does this by means of an autoloader routine.
use Shell; my @list = ls(qw/-al/); # guess what @list is :)

--
Jaap Karssenberg || Pardus (Larus)? <pardus@cpan.org>
>>>> Zoidberg: So many memories, so many strange fluids gushing out of patients' bodies.... <<<<