I believe this line:
is running afoul of Perl's quoting convention; single quotes don't interpolate variable values. Try replacing the single quotes with double quotes.open INFILE, 'zcat $filename |' or print "ERROR - Could not open $fil +ename";
emc
" The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents."In reply to Re: dynamic zcat and grep
by swampyankee
in thread dynamic zcat and grep
by clmcshque
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |