views:

33

answers:

1

I'm using perlbrew to switch between perl versions. I also use Eclipse to write perl scripts.

It seems that Eclipse does not recognize the switches between perl versions, and keeps working with the base version installed out of perlbrew. I tried restarting Eclipse but this doen't help.

So, How can I make Eclipse work with perlbrew?

+1  A: 

If you are using EPIC, this will work: Click through to Window->Preferences->Perl EPIC and set the Perl executable to perl5/perlbrew/bin/perl. This always points to the current set version of perl. The path is relative to your $HOME on Linux.

Gurunandan