in reply to Re^2: Printing to file
in thread Printing to file

That's due to how you're setting up your @all_stores array. You're mixing up the qw and standard array syntaxes. You need either:
@all_stores = ("24", "25");
*or*
@all_stores = qw(24 25);