If the current version of Inline::Python doesn't work on your ancient perl, then maybe an older version will. See cpXXXan. The very fact that Inline::Python exists in that CPAN "mirror's" index demonstrates that it has passed its tests at least once on perl 5.6.2.