moops Questions
1
I am trying to understand how lexical_has attributes work in Moops. This feature comes from Lexical::Accessor and, as I understand it, the lexical_has function is able to generate a CODE reference ...
2
Moops enhances the perl syntax by constructs such as:
class MyPkg::MyClass {
# ...
}
and adds the possibility to declare signatures for member functions by introducing the new keywords fun and ...
Gyre asked 4/2, 2014 at 16:40
1
Solved
I have the following code in my Dancer app module:
package Deadlands;
use Dancer ':syntax';
use Dice;
our $VERSION = '0.1';
get '/' => sub {
my ($dieQty, $dieType);
$dieQty = param('dieQty'...
1
© 2022 - 2024 — McMap. All rights reserved.