Skip to content

Perl grabbing output from a shell command

$result = `ls -l $file 2>&1`;

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*