fails:
 my $GameType = param('mapstyle') or $default_mapstyle;


works:
 my $GameType = param('mapstyle') || $default_mapstyle;

Am I mistaken in assuming that "I should use 'or' because this is 'string
values'" or does this happen "simply because the possibility of returning
undef exists in the expression" ?

hopefully that was succinct enough. :)

fails on the unix box too (also 5.004 running under slowaris)


-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/


Reply via email to