Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: installing strawberry and activeperl

by targetsmart (Curate)
on Oct 12, 2010 at 08:21 UTC ( #864766=note: print w/replies, xml ) Need Help??


in reply to Re^3: installing strawberry and activeperl
in thread installing strawberry and activeperl

Thanks to all monk replies.
I managed to get my scripts working.

1. Uninstalled active perl 5.6.1 and strawberry perl 5.8.9 + reboot
2. Installed strawberry perl 5.8.9,
3. Removed the strawberry related folders from system PATH variable. (I have admin access but I just want to run strawberry for my login account )
4. Installed active perl 5.6.1 + reboot
5. created a new type using 'ftype strawberryperl="C:\strawberry\perl\bin\perl.exe" "%1" %*' , (ftype perl stayed like perl="C:\APPS\actperl\bin\perl.exe" "%1" %*)
6. wrote a batch script like a) add strawberry perl related folders to the beginning of path variable b) assoc .pl=strawberryperl c) execute the scripts(/tests) d) assoc .pl=perl
7. Execute the batch script, my goal achieved, the scripts are compatible with strawberry perl 5.8.9. without disturbing the other users environment which were using active perl 5.6.1.

I dont think that is an efficient way to achieve the goal, but it solved the purpose. If there is an efficient way than the one I mentioned about, please let me know.

Actually the main Idea behind installing strawberry perl was to make sure that the old scripts that I have which worked well with active perl 5.6.1 is compatible with newer strawberry perl. But one unfortunate/fortunate thing is the support for pseudo hashes has been removed from perl 5.10, so installing strawberry perl 5.12 didn't suit well for my scripts(fields module can be used, but that is a different story, as I was only asked to check compatibility). So I finally installed strawberry perl 5.8.9 and everything seems to be working fine. Thanks


Vivek
-- 'I' am not the body, 'I' am the 'soul/consciousness', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
  • Comment on Re^4: installing strawberry and activeperl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://864766]
help
Chatterbox?
[stevieb]: perldigious: video near our hq in Montreal. Here in Calgary, it's -28c... we've only got 3" of snow so far, but there are several feet in the mountains already
[perldigious]: Snowshoeing time stevieb? I need to buy a pair so I can walk my German Shepherd properly through the country.
[stevieb]: yeah, I snowshoe a fair amount in the mountains. I also use spikes similar to these very often as well
[perldigious]: Discipulus: alternate link
[stevieb]: LOL you can easily replace "Helsinki" with "Alberta"
[perldigious]: I used to live at the top of a very steep hill stevieb, I can relate to the video. Literally used to have to build up momentum and try to force my vehicle to make it up the hill to park in my driveway properly... didn't always make it.
[choroba]: Why don't they use tire chains?
[perldigious]: First snow, probably not prepared right away choroba.
[stevieb]: it's Quebec... they do weird stuff there :) In the mountains, it is *mandatory* for trucks to use tire chains. Many passenger vehicles do as well (but it's not mandatory for them)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2016-12-06 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.