skip to Main Content

Centos – Perl module's rpm doesn't provide all included files and tries to get missing ones as a dependancies

So, I've built an rpm for centos from tar.gz dist using cpanspec and rpmbuild tools. This module contains several embedded modules, the filesystem of dist looks like this: lib/Module.pm lib/Module/SubModule1.pm lib/Module/SubModule1/SubSub1.pm lib/Module/SubModule1/SubSub2.pm lib/Module/SubModule2.pm lib/Module/SubModule2/SubSub1.pm ... etc When I try to…

VIEW QUESTION

Add multiple values to Perl / JSON object

I'm sure there is a "shortcut" to this problem - which I thought I'd solved, but which now doesn't work. Suggestions please. Having decoded the JSON object to "$codes", this works: $codes->{"product"}->{"ad_id"}->{"$ad_id"}->{"singlePay"}=$singlePayments; $codes->{"product"}->{"ad_id"}->{"$ad_id"}->{"trialPay"}=$trialPayments; $codes->{"product"}->{"ad_id"}->{"$ad_id"}->{"subsPay"}=$subsPayments; but it is somewhat repetative to…

VIEW QUESTION

How to decode a json response in perl that contains pure perl boolean?

I am getting a json response from an API endpoint that is something like this: { "items": [ { "key": "", "groupReference": "mastercard-XXXXXXXXXXXXXXX", "type": "firstPresentment-dms", "created": "2023-01-27T10:07:56.038Z", "entry": 1, "isCorrection": false, "reportingFor": "0000", "network": "mastercard", "fundsTransferDate": "2023-01-27", "fundsTransferBookDate": "2023-01-27", }…

VIEW QUESTION
Back To Top
Search