Skip to content

Commit

Permalink
Use perl -S, as suggested by trs++
Browse files Browse the repository at this point in the history
  • Loading branch information
melo committed Oct 14, 2015
1 parent badc819 commit b553d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Carton/Doc/FAQ.pod
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ L<Any::Moose>.

=head2 I'm using perlbrew, but C<< carton install >> uses system perl, how to fix?

Instead of C<< carton install >>, use C<< perl `which carton` install >>.
Instead of C<< carton install >>, use C<< perl -S carton install >>.

This will force the use of the C<perl> from your PATH, and not the C</usr/bin/perl>
that is hard-coded at the top of the C<carton> script.
Expand Down

0 comments on commit b553d53

Please sign in to comment.