Try replacing the file name with:
so Perl does not try to interpolate the non-existent $store_pdf variable.weekly_${store}_pdf.sas
You probably want to add use strict; at the top to catch this type of error.
Phil
In reply to Re: Printing to file
by philcrow
in thread Printing to file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |