Graham TerMarsch
and 1 contributors

NAME

Alien::Prototype - installing and finding Prototype JS library

SYNOPSIS

  use Alien::Prototype;
  ...
  $version = Alien::Prototype->version();
  $path    = Alien::Prototype->path();
  ...
  Alien::Prototype->install( $my_destination_directory );

DESCRIPTION

Please see Alien for the manifesto of the Alien namespace.

METHODS

version()

Return the Prototype version number.

Not to be confused with the Alien::Prototype version number (which is the version number of the Perl wrapper).

path()

Returns the path to the available copy of the Prototype JS library.

to_blib()

Returns a hash containing paths to the source files to be copied, and their relative destinations.

files()

Returns the list of files that are installed by Alien::Prototype.

install($destdir)

Installs the Prototype JS library into the given $destdir. Throws a fatal exception on errors.

AUTHOR

Graham TerMarsch (cpan@howlingfrog.com)

LICENSE

Copyright (C) 2007, Graham TerMarsch. All rights reserved.

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

SEE ALSO

http://www.prototypejs.org/, Alien.