In this article I'll explain (with code) how to create and validate a Google Authenticator two-step authentication token, using Perl. Both on the command-line and on a simple website.
The Darkpan Blog
to Perl, and beyond!
This blog is written in Perl, using the Dancer framework, Text::MultiMarkdown, DBIx::Class, Cache::Memcached::Fast, and countless other CPAN modules. It is deployed using Starman. The source code can be found at github.