Posted: Wed Dec 17, 2014 8:34 am Post subject: Perl 101
Decided to consolidate all the info on using perl scripts and linking those scripts from a single point. Mac users have perl preinstalled and configured but us winblows users have to download and configure. Hope this helps!
Posted: Fri Dec 19, 2014 5:53 pm Post subject: winodws file associations
Associate *.pl files with perl
Run the following commands at a shell prompt:
assoc .pl=PerlScript
ftype PerlScript=C:\bin\perl.exe "%1" %*
Replace C:\Perl\bin\perl.exe with the path to your Perl installation. This enables you to run myscript.pl instead of perl myscript.pl.
Default install locations are:
•ActivePerl: C:\Perl
•Strawberry Perl: C:\Strawberry
Add .PL to your PATHEXT environment variable.
This makes Windows consider *.pl files to be executable when searching your PATH. It enables you to run myscript instead of myscript.pl.
You can set it for the current cmd session
set PATHEXT=%PATHEXT%;.PL
To set it permanently (under Windows Vista or Windows 7)
setx PATHEXT=%PATHEXT%;.PL
Add a drop handler
Adding a drop handler for Perl allows you to run a Perl script via drag & drop; e.g. dragging a file over the file icon in Windows Explorer and dropping it there. Run the following script to add the necessary entries to the registry:
Posted: Thu Jan 08, 2015 5:40 pm Post subject: lost post
I'm sure I replied to this. I switched to python to remake the previous perl based mods. As a program py2exe can make a python program (script) an exe file. However, I got sidetracked trying to master the nifs.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum