51Degrees for Perl uses the C api with an interface layer generated by SWIG . There are two versions of the Perl api available that use different detection algorithms, Pattern and Trie. For most cases we recommend using Pattern.
Compile from Source
51Degrees for Perl can also be installed from source code. First download the Pattern or Trie source from Github. Extract it, then run the following commands in the FiftyOneDegrees directory. The build steps are identical for both Pattern and Trie.