in reply to Variable being saved as a list?
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 :-))
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Variable being saved as a list?
by Your Mother (Archbishop) on Aug 06, 2014 at 19:07 UTC | |
by Bloodnok (Vicar) on Aug 06, 2014 at 19:38 UTC | |
by Your Mother (Archbishop) on Aug 06, 2014 at 21:27 UTC | |
Re^2: Variable being saved as a list?
by Anonymous Monk on Aug 06, 2014 at 19:08 UTC |
In Section
Seekers of Perl Wisdom