Hi,
How about this:
my @list = ('include_reviews', 'include_news');
return Links::SiteHTML::display($list[rand @list]);
}
(I left a .html in the other global, so was trying to load include_news.html.html, , which would cause a fatal error :))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
How about this:
Code:
sub { my @list = ('include_reviews', 'include_news');
return Links::SiteHTML::display($list[rand @list]);
}
(I left a .html in the other global, so was trying to load include_news.html.html, , which would cause a fatal error :))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!