MyLibrary::Interface::Admin
use MyLibrary::Interface::Admin;
Modular admin interface components for MyLibrary.
Few methods will be exported.
Most of the methods employed here are class methods. However, class objects are created with embedded attributes.
This is a constructor method which can be used to create the vital attributes of an interface object. These attributes are then subsumed when the edit_html constructor is called. Use this method to directly manipulate the attributes of the interface being called.
This method can be used to either update the definition of an interface or creat a new interface.
# create and commit a new interface (use the interface() constructor method) $interface = $MyLibrary::Interface::Admin->interface(interface_name => $name, interface_text => $html); $interface->commit_interface(); # update the values of an existing interface
To install MyLibrary, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MyLibrary
CPAN shell
perl -MCPAN -e shell install MyLibrary
For more information on module installation, please visit the detailed CPAN module installation guide.