![]() ![]() | ![]() |
version 1.289, 2003/10/29 18:29:24 | version 1.290, 2003/10/30 20:22:00 |
---|---|
Line 1060 ENDSCRIPT | Line 1060 ENDSCRIPT |
sub storefile { | sub storefile { |
my ($file,$contents)=@_; | my ($file,$contents)=@_; |
&Apache::lonnet::correct_line_ends(\$contents); | |
if (my $fh=Apache::File->new('>'.$file)) { | if (my $fh=Apache::File->new('>'.$file)) { |
print $fh $contents; | print $fh $contents; |
$fh->close(); | $fh->close(); |