|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Variable being saved as a list?by Bloodnok (Vicar) |
| on Aug 06, 2014 at 18:47 UTC ( [id://1096498]=note: print w/replies, xml ) | Need Help?? |
|
Hiya fiona ,
Welcome to the monastry.
my(@LINES)=<REFFILE>; doesn't look right, you tried my @LINES = <REFFILE>; ? Also, open (REFFILE,">$reffile") || print "Content-type: text/html\n\n Can't Open $reffile(r): $!\n"; appears to be wrong since, even if open() fails, the next line still tries to write to it - try open (REFFILE,">$reffile") || die "Content-type: text/html\n\n Can't Open $reffile(r): $!\n";
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||