The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perl::Dist::WiX::Role::Asset - Role for assets.

SYNOPSIS

        # Since this is a role, it is composed into classes that use it.
  

DESCRIPTION

Perl::Dist::WiX::Role::Asset is a role that provides methods, attributes, and error checking for assets to be installed in a Perl::Dist::WiX-based Perl distribution.

ATTRIBUTES

Attributes of this role also become parameters to the new() constructor for classes that use this role.

parent

This is the Perl::Dist::WiX object that uses an asset object that uses this role. The Perl::Dist::WiX object handles a number of private methods for the asset object.

It is required, and has no default, so an error will be thrown if it is not given.

url

This attribute is the location on the Internet of the thing the asset installs.

file

This attribute is the location of the file the asset installs. This could be an archive containing multiple files to install.

METHODS

cpan

The cpan routine is a stub, as it is not used, and will throw an error.

It will be removed in the future.

install

This role requires that classes that use it implement an install method that installs the asset.

It does not provide the method itself.

SUPPORT

Bugs should be reported via the CPAN bug tracker at

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Dist-WiX

For other issues, contact the author.

AUTHOR

Curtis Jewell <csjewell@cpan.org>

SEE ALSO

Perl::Dist::WiX

COPYRIGHT AND LICENSE

Copyright 2009 - 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 module.