Thanks FishMonger & Laurent_R, I went over to CPAN and decided to use Text::Wrap::Smart::XS and I installed the mod using the MCPAN shell.
But I ended up with an issue after installing the mod and I hope you or someone might be willing to give me some advise on how to correct the install.
This is what I have:
At one time there was /perl5/5.8.8/ installed on the linux system and @INC is still pathed for /5.8.8/....
But there has been a version upgrade at some point to /perl5/5.15.4/ and perl -v tells me 5.15.4 is operating.
All my current scripts are happy tho with @INC the way it is pointing to /perl5/5.8.8/. Probably because all the installed mods were installed and compiled with 5.8.8.
This new install of Text::Wrap::Smart::XS wants to install to /perl5/5.15.4/ which is right, but because of @INC pathed the way it is, Text::Wrap::Smart::XS can't be found.
I have tried path prefixing @INC with
Code:
use lib=".../perl5/5.15.4/...";
and I have tried many different sequences of pathing but it all leads me to other problems with the script like when using diagnostics.pm, XSLoader.pm, etc. to name a few because in many cases it seeks out the 5.15.4 path filename instead of the 5.8.8 path filename.
I've tried several things, but there is nothing that works 100%.
I wish I could just install this mod using /perl5/5.8.8/ and maybe I would be done with it, but I am at a loss as to if that is even a possibility at this point or maybe there is another way to install this mod I am not aware of to make it work?
Any help or advise would be greatly appreciated. I have googled and read several articles but I am either missing something; or finding out I am S-O-L; or I don't understand what to do.
I have also posted a similiar question over in the
Linux Help