Alternatively, use the qx with single quotes:$x = `grep orderNumber \$(find /home/homedepot/ECOM/prod/in -mtime -1) + | wc -l`;
$x = qx'grep orderNumber $(find /home/homedepot/ECOM/prod/in -mtime -1 +) | wc -l';
In reply to Re: Perl 'pipe' problem
by bart
in thread Perl 'pipe' problem
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |