The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Alien::Web - Base class/namespace for static web asset distributions on CPAN

SYNOPSIS

  package Alien::Web::Something;
  use parent 'Alien::Web';
  
  1;

DESCRIPTION

This is the base class/namespace for distributing static web assets, such as JavaScript libraries, via CPAN using Perl's ShareDir functionality.

This class is very simple and exists mainly for the purposes of grouping and defining a common API for these distributions to follow. See Alien::Web::ExtJS::V3 for a working example.

METHODS

dir

Returns the distribution share directory as a Path::Class::Dir object.

path

Returns the raw distribution share directory (as returned by File::ShareDir::dist_dir).

SEE ALSO

AUTHOR

Henry Van Styn <vanstyn@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by IntelliTree Solutions llc.

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