ActiveState PerlThe ActiveState Perl distribution is a port of Perl to the Windows environment, sometimes referred to as Win32. As part of my work, I need to build, develop and install packages in this environment. I normally build packages using RPM and manage package files with it. Since utilitizing RPM would require building and installing RPM, a task that is too daunting for the project timeline, I decided to try to utilize perl itself to manage the perl module installs. One of the first issues that I came across in utilizing perl to manage installs, is that the uninstall target of a modules generated Makefile just prints out a warning about not uninstalling modules. So I needed a tool to uninstall modules. This is important during development as the need to rename or remove files and directories requires that the installed versions no leave any of these old files behind.
I've created a module called
When installing a perl module, a file named I've found that in working with scripts on Windows, calling a script that is named without an extension causes some problems. This is due to the fact that there is no interpretation of the pound-bang line that is normally used in unix and linux environments to tell the system which interpreter to use. Perl provides the pl2bat utility to create a batch file, but if the original script has no extension, it is read instead of the .bat file and will be interpreted as a batch file. This problem can be solved by renaming the original perl script with the .pl extension. The normal extension order places .pl files behind .bat files, so the batch file is read and run producing the expected results.
I've created a script called
When creating the | |