Subject: | Slight Error in documentation for spawn() |
Hi there,
using POE-Component-UserBase-0.09.tar.gz
The following piece of documentation is slightly wrong:
POE::Component::UserBase->spawn
( Alias => 'userbase', # defaults to 'userbase'.
Protocol => 'dbi', # The repository type.
Cipher => 'sha1', # defaults to 'crypt'.
DBHandle => $dbh, # Required, connected to a handle.
Table => 'auth',
UserColumn => 'user_name', # defaults to 'username'.
PassColumn => 'password', # defaults to 'password'.
PersistColumn => 'persistent', # defaults to 'data'. This is our
# persistent data storage.
);
PersistColumn should be replaced with PersistentColumn. Its correct further down in the docs, where it describes its usage. As this caught me out, and i'm certainly a Perl/POE beginner, i figured it might catch others out.
HTH
-vince