AskX::AutoLang - automatically supply a "lang" argument to all method calls
my $ask = Ask->detect(traits => ['AskX::AutoLang'], language => "fr"); $ask->question("Voulez-vous coucher avec moi ce soir?");
Saves supplying lang => "fu" to all method calls. Just do it once in the constructor.
lang => "fu"
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Ask.
Ask.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2012-2013, 2020 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Ask, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ask
CPAN shell
perl -MCPAN -e shell install Ask
For more information on module installation, please visit the detailed CPAN module installation guide.