[Mojolicious] Re: mojolicious template if statement

2018-03-06 Thread Andrew Morgan
Argh..lol, thank you very much..rookie mistake. Thank you On Monday, 5 March 2018 22:51:23 UTC-5, Andrew Morgan wrote: > > Hello All, > > I have the below code, but the if statement is not functioning.No matter > what my selection is in the browser it returns "you entered correct car > " > >

[Mojolicious] Re: mojolicious template if statement

2018-03-05 Thread kitt
Hi. Perl use 'eq' operator for string equal comparsion. Right syntax is: %if($msg eq "fiat"){ вторник, 6 марта 2018 г., 13:51:23 UTC+10 пользователь Andrew Morgan написал: > > Hello All, > > I have the below code, but the if statement is not functioning.No matter > what my selection is in the