| [reply] |
I'm not personally familiar with Citrus Perl that was suggested by someone else. For Windows, Strawberry Perl does offer a portable version that can be used on a flash drive.
For some info on how to create a portable Perl for Linux, someone shared some links on how to do this at Re^4: Advantages of Activeperl vs Strawberry Perl.
| [reply] |
CitrusPerl provides downloads for win32/linux/macosx ... all portable; sure you can mix match, but :)
| [reply] |
Greetings.
Assuming you already have an installation of Windows, and Linux. You could also pack up both of them (Perl directories) in tar balls, and unpack them onto your thumb drive, in separate directories, and setup an ENV variable, that points accordingly.
Windows
SET perl="/path/to/perl.exe"
SET lib="/path/to/perl/lib"
Where Linux is concerned, you could probably even create a symlink to your copy on the FlashDrive.
Perhaps not as elegant, but sure simple enough.
HTH
--Chris
#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;
| [reply] |
Not unless your perl is relocatable ... which win32 are by default and linux generally arent
| [reply] |