Subject: | Documentation Bug in Regard to ::XS Variant |
Date: | Tue, 2 Sep 2014 15:27:45 -0700 |
To: | bug-Crypt-Skip32 [...] rt.cpan.org |
From: | Aran Deltac <bluefeet [...] gmail.com> |
The documentation recommends this style of constructor:
my $cipher = new Crypt::Skip32 $key;
But if you have Crypt::Skip32::XS installed it goes BOOM. With the ::XS
version installed you must use the standard constructor syntax:
my $cipher = Crypt::Skip32->new( $key );
The documentation should be updated so that other people don't hit their
shins on this in the future.
Aran