XML::APML::Profile - profile markup
my $home = XML::APML::Profile->new( name => 'Home' ); my $work = XML::APML::Profile->new; $work->name('Work'); print $work->name; my $implicit = $work->implicit_data; my $explicit = $work->explicit_data;
Class that represents Profile mark-up for APML.
Constructor
my $p = XML::APML::Profile->new; $p->name('Name'); my $p = XML::APML::Profile->new( name => 'Name' );
accessor for name
my $p = XML::APML::Profile->new; $p->name('ProfileName'); print $p->name;
returns XML::APML::ImplicitData object.
my $implicit = $p->implicit_data; my @concepts = $implicit->concepts;
alias for implicit_data
returns XML::APML::ExplicitData object.
my $explicit = $p->explicit_data; my @concepts = $explicit->concepts;
alias for explicit_data
To install XML::APML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::APML
CPAN shell
perl -MCPAN -e shell install XML::APML
For more information on module installation, please visit the detailed CPAN module installation guide.