I think I was bored on a slow Friday afternoon so I started updating non-critical software. Somehow I found a portable version of Perl, Strawberry Perl, and an IDE for Perl called Padre. An IDE is a help for someone like me who does not use Perl very often. Since I have a love-hate affair with the Windows registry, I also prefer portable applications. Since all of my portable applications are Portableapps.com applications, I prefer portable applications that fit in this framework. So I found a “portable†Strawberry Perl. However it was not in the Portable Apps framework. I found an installable version of Padre but not a portable version. I am guessing that there is a Perl/Padre version issue since they only build Padre for Perl 5.10. The “portable†version of Perl I was looking at is 5.12. So I decided to ignore the problems and create my first Portable Application. If it doesn’t work I won’t use it. Here are my steps for creating a Portableapps version of Strawberry Perl with Padre(45.7 MB).
- Download Portable Strawberry 5.12.
- Create PortableApps folder structure for new application called StrawberryPerlPortable
- Create StrawberryPerl Portable Application
- Install Portable Strawberry in "app" folder.
- Create appinfo.ini
- Create Launcher folder and StrawberryPerlPortable.ini pointing to portableshell.bat
- Create Portable application using Portableapps.com Launcher
- Test
- Install Padre using cpanp. Ignore errors.
- Modify portableshell.bat to start padre rather than cmd.
- Test example scripts
- Final Test: Install my cidrmerge application.
- Install NetAddr::IP::Lite
- Install Net::CIDR::Lite
- Test cidrmerge.