Jun 14, 2011, 9:52 AM
Post #5 of 5
Re: [nibalan] passing multiple options through Getopt::Long in perl 5.6 version
[In reply to]
I am writing a perl script as part of my project in my office. Every office PC contains 5.6 version. The script I am writing is goin to be used by everyone in my office. So there is no use of just upgrading my system and I cant ask others to do it. Can you please provide a code that brings the output I asked? I couldnt do it
You don't have to limit yourself to perl 5.6 just because the other PC's you want to run this script on only have that version.
Instead, I suggest that you get the latest version of Strawberry Perl, install the latest versions of the cpan modules you want to use, and get your script to work.
After that install PAR::Packer or some other perl to exe method, to pack your script with the perl and modules it needs into an exe that you can run on the other machines without having to actually install anything.