Shlomi Fish > HTML-Widgets-NavMenu > HTML::Widgets::NavMenu::Object

Download:
HTML-Widgets-NavMenu-1.0702.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

__PACKAGE__->mk_accessors(qw(method1 method2 method3))

Equivalent to Class::Accessor's mk_accessors only using Class::XSAccessor. It beats running an ugly script on my code, and can be done at run-time.

Gotta love dynamic languages like Perl 5.

__PACKAGE__->mk_acc_ref([qw(method1 method2 method3)])

Creates the accessors in the array-ref of names at run-time.

NAME ^

HTML::Widgets::NavMenu::Object - a base object for HTML::Widgets::NavMenu

SYNOPSIS ^

For internal use only

FUNCTIONS ^

my $obj = HTML::Widgets::NavMenu::Object->new(@args)

Instantiates a new object. Calls $obj->_init() with @args.

my $obj = HTML::Widgets::NavMenu::Object->destroy_();

A method that can be used to explicitly destroy an object.

COPYRIGHT & LICENSE ^

Copyright 2006 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.

syntax highlighting: