My guess is you installed Mojolicious into perlbrew library path, but
running program with system perl.
For example, you have this shebang line (first line in script)
#!/usr/bin/perl
You need to change it to perlbrew perl. I guess, the right way to do it
is line
#!/usr/bin/env perl
Read this perlbrew article for details how and why it works
https://perlbrew.pl/Dealing-with-shebangs.html
On 02/06/2019 15:50, Tanya Sahni wrote:
Hi
This is a new information for me.. I have done installation using cpanm
although now I completely confused that my program is using which perl. And I
do have perlbrew folder , sorry for not being so informative about the
situation I am newbie to perl. I tried various attempts to install Mojolicious
and one was also adding “requires Mojolicious” in the cpanfile file.
It would be great help if you could help me know how to differentiate between
the perl I am using for my code ? is it using System perl or my installed perl
? What’s the difference using cpanm or other way affects these perl?
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mojolicious/4a616b2c-1874-282b-da3d-cf8731e8ed7c%40gmail.com.
For more options, visit https://groups.google.com/d/optout.