Curtis Jewell > Perl-Dist-WiX-1.500002 > Perl::Dist::WiX::PropertyList

Download:
Perl-Dist-WiX-1.500002.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  3
View/Report Bugs
Module Version: 1.500   Source  

NAME ^

Perl::Dist::WiX::PropertyList - A list of <Property> and <WixVariable> tags.

VERSION ^

This document describes Perl::Dist::WiX::PropertyList version 1.500.

SYNOPSIS ^

        # Create an icon array
        my $list = Perl::Dist::WiX::PropertyList->new();

        # Add an property to the list, then go looking for it.
        my $property_tag = $list->add_simple_property('ARPNOMODIFY', '1');
        
        # Print out all the icons in XML format.
        my $xml = $list->as_string();

DESCRIPTION ^

TODO

The object is not a singleton - maybe it should be?

INTERFACE ^

new

        my $list = Perl::Dist::WiX::PropertyList->new();

Creates a new Perl::Dist::WiX::PropertyList object.

Takes no parameters.

add_simple_property

        my $property_tag = $list->add_simple_property('ARPNOMODIFY', '1');

The add_simple_property routine adds a property to the list identified by the first parameter, with its value being the second parameter.

URI values are stringified.

add_wixvariable

TODO

as_string

        my $xml = $list->as_string();

The as_string method returns XML code for all properties included in this object.

get_namespace

TODO

DIAGNOSTICS ^

See Perl::Dist::WiX::Diagnostics for a list of exceptions that this module can throw.

BUGS AND LIMITATIONS (SUPPORT) ^

Bugs should be reported via:

1) The CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Dist-WiX if you have an account there.

2) Email to <bug-Perl-Dist-WiX@rt.cpan.org> if you do not.

For other issues, contact the topmost author.

AUTHORS ^

Curtis Jewell <csjewell@cpan.org>

Adam Kennedy <adamk@cpan.org>

SEE ALSO ^

Perl::Dist::WiX, http://ali.as/, http://csjewell.comyr.com/perl/

COPYRIGHT AND LICENSE ^

Copyright 2010 Curtis Jewell.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this distribution.

syntax highlighting: