WURFL via Perl, MySQL device capabilities detection