Using Perl to populate a WATable.js table