29 Dec 2010 02:53:48 UTC
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (34 / 42 / 5)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (850.99KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
Clownfish::Binding::Perl::Constructor - Binding for an object method.
This class isa Clownfish::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::Binding::Perl::Constructor->new( class => $class, alias => "_new|init2", );
class - A Clownfish::Class.
alias - A specifier for the name of the constructor, and optionally, a specifier for the implementing function. If
aliashas 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".
Generate the XSUB code.
Copyright 2008-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.