Ok, can someone please tell me why this code won't work. I for the life of me cannot see the error. I've managed to narrow the error down to this piece of code, so I'm hoping someone can see the error I can :)
@free_webmaster = <WEBMASTER>;
close(WEBMASTER);
open(MAIN_MENU,"/home/pokemon/public_html/includes/free-main-menu.txt") || die "Error: $!";
@main_menu = <MAIN_MENU>;
close(MAIN_MENU);
open(FREE-MAILINGLIST,"/home/pokemon/public_html/includes/free-mailinglist.txt") || die "Error: $!";
@free_mailinglist = <FREE-MAILINGLIST>;
close(FREE-MAILINGLIST);
open(COPYRIGHT,"/home/pokemon/public_html/includes/copyright.txt") || die "Error: $!";
@copyright = <COPYRIGHT>;
close(COPYRIGHT);I'm hoping when I get back later I will be able to see it, but I'm not holding my breath .
Any help will be much appreciated
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
Code:
open(WEBMASTER,"/home/pokemon/public_html/includes/free-webmaster.txt") || die "Error: $!"; @free_webmaster = <WEBMASTER>;
close(WEBMASTER);
open(MAIN_MENU,"/home/pokemon/public_html/includes/free-main-menu.txt") || die "Error: $!";
@main_menu = <MAIN_MENU>;
close(MAIN_MENU);
open(FREE-MAILINGLIST,"/home/pokemon/public_html/includes/free-mailinglist.txt") || die "Error: $!";
@free_mailinglist = <FREE-MAILINGLIST>;
close(FREE-MAILINGLIST);
open(COPYRIGHT,"/home/pokemon/public_html/includes/copyright.txt") || die "Error: $!";
@copyright = <COPYRIGHT>;
close(COPYRIGHT);
Any help will be much appreciated
Andy
webmaster@ace-installer.com
http://www.ace-installer.com