Help for this page
open(CMD, '-|', '/usr/bin/ls', '$4', '$PATH'); my $output = do { local $/; <CMD> }; close CMD; print "$output\n";
ls: 0653-341 The file $4 does not exist. ls: 0653-341 The file $PATH does not exist.