Unfortunately ullbergm's script parses a file that's also empty on my router, so I changed it to parse /var/run/dnsmasq-dhcp.leases instead, which has less and a little different information. Also I don't know Perl so it will probably look horrible, but it does what I need it to do until dnsmasq gets integrated into EdgeOS a little better.
Edit: wasn't able to upload a .tar.gz, somehow it worked with .zip despite the same error message at first...