NAME

Duadua::Util - Utilities of Duadua

Export Functions

name($hash, $name)

Set name

bot($hash)

Set bot

ios($hash)

Set iOS

android($hash)

Set Android

linux($hash)

Set Linux

windows($hash)

Set Windows

version($hash, $version_string)

Set version string

set_os($d_obj, $hash)

Detect OS from $d_obj, then return result as $hash.

ordering_match($d_obj, $list)

The detector wether elements of $list are matching with User-Agent string in order.

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

LICENSE

Duadua is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. (Note that, unlike the Artistic License 1.0, version 2.0 is GPL compatible by itself, hence there is no benefit to having an Artistic 2.0 / GPL disjunction.) See the file LICENSE for details.