>
> This is not good advice, i believe you should have good reasons for 
> deactivating strict and warnings.
>

And the real question that needs to be answered first is "What are you 
actually trying to achieve?".

If you want to work with subroutines as if they were references, just use 
subroutine references.

    #!/usr/bin/env perl

    use Mojolicious::Lite;

    sub test { print "Hello World!\n" }

    my $test = \&test;

    $test->();

--
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.

Reply via email to