Hi All

I'm not using Mojolicious::Lite but the full version and i have some
trouble to understand what i do wrong.

In my controller i do
  $self->render(mytest => 'my test');

In my template i do
  <h2><%= $mytest %></h2>

And the response i get
   Global symbol "$mytest" requires explicit package name (did you forget
to declare "my $mytest"?)     at template stockitems/search.html.ep line 5.

for what i can see there is no real diffrence between this and the welcome
process :-(

Thank you in advance.

Best Regards

Titles mean nothing.  The one with a servant's heart is the leader.

Please consider the environment before you print this email.

All incoming and outgoing emails and any attachments are subjected to a
virus scanner and are believed to be free of any virus, or any other defect
which might affect any computer or IT system into which they are received
and opened. Therefore, it is the responsibility of the recipient to ensure
that they are virus free and no responsibility is accepted by Jan Eskilsson
 for any loss or damage arising in any way from receipt or use thereof.

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 mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to