Guest_imported
New member
- Jan 1, 1970
- 0
Hi.
I have a little problem with my Perl script.
I want to add html in a html file
I am using this code
open (FILE,"$data"
;
@lines = <FILE>;
close(FILE);
open (VISITOR,">$data"
;
foreach $line (@lines) {
if ($line =~ /<!--start-->/) {
print VISITOR ("<!--start-->\n"
;
When i add something it will now be added at the bottom of my page,but i want the newest add at the top.
What is wrong with this code
Thanks
Fredrik
I have a little problem with my Perl script.
I want to add html in a html file
I am using this code
open (FILE,"$data"
@lines = <FILE>;
close(FILE);
open (VISITOR,">$data"
foreach $line (@lines) {
if ($line =~ /<!--start-->/) {
print VISITOR ("<!--start-->\n"
When i add something it will now be added at the bottom of my page,but i want the newest add at the top.
What is wrong with this code
Thanks
Fredrik