perl expert wanted
I'm a Yoper packager having an old issue with our perl package. Somehow it turns we have a bug so when we execute next, we get a leading blank (space):
This is causing other package builds to fail. Just in case it maybe give you some information, it was built with the following options: http://yoper.pastebin.no/1284
Here you also have the /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Config.pm file fully: http://yoper.pastebin.no/1283
Any help greatly appreciated! :confused:
Not quite sure what you're after, but it seems like you want to remove a leading space from a value.
Try this sed when you're defining that var in your perl program
$var = (whatever you have assigned first, with the blank);
$var =~ s/^\s+//;
Now $textvar will be missing the leading character.
There are other ways to do things, but that will work.
thanks for your reply. I think I've found the solution to my problem on my own. I was building perl using the -A switch instead of -D. The former adds a blank space while the latter does not. Please, have a look at the next link for more details: http://sial.org/pbot/23975
Best regards! :)
|All times are GMT -5. The time now is 08:11 PM.|