open(OUTPUTFILE, '>$position_output_path')
Variables aren't expanded in single-quoted strings. You're opening a file called $position_output_path. You need double quotes.
while (<OUTPUTFILE>) { print OUTPUTFILE @rows;}
While you can read from OUTPUTFILE (which is opened for writing only - so you aren't going to get any data back anyway) write a record to the filehandle. That's not right. You probably just need:
print OUTPUTFILE @rows;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: writing an array of data to a file
by davorg
in thread writing an array of data to a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |