The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2017-05-20

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:07 zivester joined #mojo
01:06 marty joined #mojo
01:48 ilbot2 joined #mojo
01:48 Topic for #mojo is now ???? nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
02:06 noganex_ joined #mojo
03:22 vicash sri: i have pushed an update to CPAN for Minion::Backend::Pg91.
03:56 maschine joined #mojo
04:04 dboehmer joined #mojo
05:51 punter joined #mojo
07:45 marty joined #mojo
08:00 Vandal joined #mojo
08:20 stryx` joined #mojo
08:56 sh14 joined #mojo
12:37 punter joined #mojo
12:51 jberger vicash++
13:17 aborazmeh joined #mojo
13:22 stryx` joined #mojo
13:26 maschine joined #mojo
13:37 sri vicash++
13:43 bpmedley joined #mojo
13:44 stephan48 joined #mojo
13:45 Janos joined #mojo
14:02 stephan48 joined #mojo
14:07 zivester joined #mojo
14:29 stephan48 joined #mojo
15:11 gizmomathboy joined #mojo
15:17 PryMar56 joined #mojo
15:36 rshadow joined #mojo
16:06 kaare joined #mojo
16:40 kaare_ joined #mojo
16:44 zivester joined #mojo
17:25 zivester joined #mojo
17:35 mib_1fzzaw joined #mojo
17:37 mib_1fzzaw Hi, how should I use EP to generate HTML tags conditionally? I already tried several options to set (or not) CSS on my page if a parameter is available in the stash or not!
17:37 mib_1fzzaw http://mibpaste.com/FR24sN
17:38 mib_1fzzaw This "works" (CSS is applied) but I got both single quotes printed to the HTML as well.
17:38 mib_1fzzaw Couldn't find anything on the mailing list archives too
17:40 Grinnz ... don't put the single quotes there
17:40 Grinnz read through https://metacpan.org/pod/Mojo::Template and it should be clearer
17:42 mib_1fzzaw Looks like morbo caches is ruining my day... I removed the quotes, restarted, and got the expected results
17:43 Grinnz make sure your morbo watch dirs includes templates
17:43 Grinnz i believe its included by default if you dont set any
17:44 mib_1fzzaw I did it... sometimes morbo get my changes in the templates, sometimes not
17:45 mib_1fzzaw I thought that for returning a value, I should use "<%=" instead of only "%"
17:47 Grinnz <%= %> and %= at the beginning are equivalent, the latter just applies to the whole line
17:47 Grinnz same with <% %> and %
17:47 mishanti1 mib_1fzzaw: I have experienced the same thing; most of the time changes are catched and the reload happens, and in some (rare) cases it does not happen. I have been unable to consistently reproduce it myself.
17:48 mib_1fzzaw all right Grinnz, thanks!
17:56 dod joined #mojo
18:02 dod joined #mojo
18:28 zivester joined #mojo
21:37 Bloke joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary