FIX: admin/config.pl unusable with old perl versions

Hans Meine hans_meine at gmx.net
Wed Jun 15 10:57:19 BST 2005


Hi!

In order to try compiling a 3.4 KDE on Solaris, I had to make the attached 
patch to config.pl due to a perl version incapable of "foreach my $foo ...".
It barked with
  Missing $ on loop variable at ../../arts/admin/config.pl line XXX.
where XXX in {63, 89, 197} (fixing one-by-one).

Finally, after fixing it told me what I already guessed: "Using perl older 
than version 5.005" ;-) and created the files.  Interestingly, I had to fix 
occurences in both the if($bad_perl) and the else-branch - maybe someone else 
would like to have a look at that again..

Ciao, /  /
     /--/
    /  / ANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_pl.diff
Type: text/x-diff
Size: 1044 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050615/f994c3af/attachment.diff>


More information about the kde-core-devel mailing list