Creating a JSON Service, Part 4: Add Query to Perl Script Brandan Jones 8 months ago Creating a JSON Service, Part 4: Add Query to Perl Script Create a JSON service using Perl and MySQL. In this fourth video, we define our SQL statement, and we add it to the Perl script.