Well, changing the scope form *my $mango* to *our $mango* solves it perfectly. But is it a good practice?, or should I try another approach?
Sometimes it's not easy to evolve from the tutorials to the real life code... Thank you again: Nacho B On Friday, June 20, 2014 6:50:07 PM UTC+2, sri wrote: > > - The value of $err is always "*premature connection close*"". >> > > Because $mango goes out of scope. > > -- > sebastian > -- 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 http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
