Thanks, i have read this, but thought that there was a difference between them that wasn't mentioned.
Regards Le 5 oct. 2016 12:55, "Paul Williams" <[email protected]> a écrit : > <%= ... %> > and > %= ... > > are equivalent, see: http://mojolicious.org/perldoc/Mojolicious/Guides/ > Rendering#Embedded-Perl > > On Monday, 3 October 2016 07:31:27 UTC+1, Pavel K wrote: >> >> Yes, I mean <%= $user->{name} %> >> >> понедельник, 3 октября 2016 г., 0:40:19 UTC+3 пользователь khalil zakaria >> Zemmoura написал: >>> >>> I think you meant <%= $user->{name} %> instead of <% $user->{name} %> >>> because the last one throw an error. >>> >>> Is there any technical difference between %= $vat and <%= $var >>> %> >>> thank you for your answer >>> >>> Le dimanche 2 octobre 2016 18:32:13 UTC+1, Pavel K a écrit : >>>> >>>> Stash is a good practic. But I think you must use template variables, >>>> like this: >>>> <% $user->{name} %> instead %= $user->{name} >>> >>> -- > You received this message because you are subscribed to a topic in the > Google Groups "Mojolicious" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/mojolicious/ud4mSc0kJ4s/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
