In Computer Science we're always looking for a more general solution to a problem, which often involves looking at a problem from a more general perspective. The specific problem you have is not knowing how to parse JSON, and the specific solution is provided in the answer you accepted. But the more general problem is not knowing where to find Perl tools. The more general solution is to become familiar with a CPAN search site, such as metacpan.org
–
DavidOJul 25 '12 at 6:06