Hi everyone,
I need to pass as input parameter of one function name of other function
which must be executed in some cases. But cause of Mojolicious uses 'strict
refs' I have no idea how to do it :(
Can you please advice me something?
For better understanding problem let me give an example:
#!/usr/bin/env perl
my $i = "test";
sub test {
print "Hello World!\n";
}
$i->();
this code works fine
#!/usr/bin/env perl
use Mojolicious::Lite;
my $i = "test";
sub test {
print "Hello World!\n";
}
$i->();
and this doesn't :(
Is this a bug or it's a feature?
Any suggestion is much appreciated.
--
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.