#!/home/ben/software/install/bin/perl use warnings; use strict; use JSON::Repair ':all'; print repair_json ("{'answer':42}"), "\n";