in reply to active perl & strawberry perl

1-rename activestate perl folder to something else such as perl510

No - you should have installed ActivePerl into "perl510" in the first place. Renaming the folder after installation has taken place means that some of the %Config values (in lib/Config.pm and lib/Config_heavy.pl) will be incorrect - eg perl -V:bin will report the old location of the perl/bin folder. These incorrect values generally won't stop you from running perl scripts, but they can screw things up when it comes to installing additional modules.

I usually select the perl I want to run by running a batch script that sets the path to the appropriate perl. For ActivePerl, the batch file would contain:
set PATH=C:\_32\ap1006\bin;%PATH%
That way, when I invoke 'perl', it's ActivePerl that gets run, as it's the first 'perl' found in the path.

Cheers,
Rob