Tkx::Login provides a simple login interface for Tkx applications. Given a window value to extend, it opens a new window, queries for username and password and returns the values.
use Tkx::Login; my ($username,$password) = Tkx::Login::askpass($mainwindow,$message,$pre_user,$pre_password); Parameters: $mainwindow - Current MainWindow in your Tkx app. (required) $message - A text message to display in the login window. (optional) $pre_user - A value to pre-populate the username blank with. (optional) $pre_pass - A value to pre-populate the password blank with. This will be obscured with asterisks. (optional)
Tkx::Login v1.04 2012/03/27 (c) 2012-2012, Phillip Pollard <bennie@cpan.org> Released under the Perl Artistic License
To install Tkx::Login, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tkx::Login
CPAN shell
perl -MCPAN -e shell install Tkx::Login
For more information on module installation, please visit the detailed CPAN module installation guide.