
FishMonger
Veteran
Feb 7, 2013, 11:17 AM
Views: 201
|
|
Re: [jdp12383] File is not updating
|
|
|
In the print statements you need to remove the comma after the filehandle as well as the ">>".
print $FILE "\@Params_name=$name\n"; Personally, I don't like using all uppercase filehandles and I prefer (and I believe it's best practice) to use braces arount the filehandle.
print {$fh} "\@Params_name=$name\n";
(This post was edited by FishMonger on Feb 7, 2013, 11:19 AM)
|