Rob Dixon schreef:

>    chomp (my @files = qx($command));
>    chomp @files;

Why twice?


>    print "$_\n" foreach @files;


unchomp? ;)


Variant:

     { local ($\, $,) = ("\n", "\n"); print @files }

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to