-
-
23 Mar 2019 17:36:04 UTC
- Distribution: PiFlash
- Module version: 0.4.3
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (103 / 0 / 59)
- Kwalitee
Bus factor: 1- License: apache_2_0
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (263.37KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Ian Kluft
NAME
PiFlash::Object - object functions for PiFlash classes
VERSION
version 0.4.3
SYNOPSIS
package PiFlash::Example; use parent 'PiFlash::Object'; sub object_params ( return qw(name type); # and any other required object parameter names } my $obj = PiFlash::Example->new( {name => "foo", type => "bar");
DESCRIPTION
PiFlash::Object was written so that PiFlash::Hook and PiFlash::Plugin could inherit and share the same new() class method, rather than have similar and separate implementations. It isn't of interest to most PiFlash users.
In order to use it, the class must define a class method called object_params() which returns a list of the required parameter names for each object of the class.
SEE ALSO
piflash, PiFlash::Hook, PiFlash::Plugin
AUTHOR
Ian Kluft <cpan-dev@iankluft.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2017-2019 by Ian Kluft.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Module Install Instructions
To install PiFlash, copy and paste the appropriate command in to your terminal.
cpanm PiFlash
perl -MCPAN -e shell install PiFlash
For more information on module installation, please visit the detailed CPAN module installation guide.