Clownfish::CFC::Binding::Perl::Constructor - Binding for an object method.
This class isa Clownfish::CFC::Binding::Perl::Subroutine -- see its documentation for various code-generating routines.
Constructors are always bound to accept labeled params, even if there is only a single argument.
my $constructor_binding = Clownfish::CFC::Binding::Perl::Constructor->new( class => $class, alias => "_new|init2", );
class - A Clownfish::CFC::Class.
alias - A specifier for the name of the constructor, and optionally, a specifier for the implementing function. If alias has a pipe character in it, the text to the left of the pipe will be used as the Perl alias, and the text to the right will be used to determine which C function should be bound. The default function is "init".
alias
Generate the XSUB code.
To install Lucy::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lucy::Simple
CPAN shell
perl -MCPAN -e shell install Lucy::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.