### displays code in textarea print "<center><textarea name=head rows=6 cols=60 wrap=soft>\n"; print @linesHead; print "</textarea></center>\n"; ### saves data to file open (FILE,">$dataDir/currentHeader.txt"); flock (FILE, 2) or die "cannot lock file exclusively: $!"; print FILE $FORM{'head'}; close(FILE); ### reads data from file open(FILE,"< $dataDir/currentHeader.txt"); @linesHead = <FILE>; close(FILE);
I have searched for hours and tried all sorts of ways to correct this. While I have seen others with the same problem I am yet to see an answer that works.
Cheers JamesIn reply to Re: extra spaces in textarea
by ja
in thread extra spaces in textarea
by ja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |