... or, call it with;
... and then change;
to...
... which I think is faster, because you are only loading the variable, instead of the whole %ref.
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!
Code:
<%round_rating($Rating)%>... and then change;
Code:
my $non_rounded = $rec->('Rating');to...
Code:
my $non_rounded = shift;... which I think is faster, because you are only loading the variable, instead of the whole %ref.
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!