How do I use local::lib with fish shell?

Viewed 232

I'm still quite new to fish shell but this is really important for making me want to stay using it.

If I try and activate local::lib with a normal bash style command:

eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"

I get:

$(...) is not supported. In fish, please use '(perl)'.
fish: eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
1 Answers
Related