Alien::Prototype - installing and finding Prototype JS library


NAME

Alien::Prototype - installing and finding Prototype JS library

Back to Top


SYNOPSIS

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

Back to Top


DESCRIPTION

Please see Alien for the manifesto of the Alien namespace.

Back to Top


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.

install($destdir) Parameter: $destdir - Destination directory

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

Back to Top


AUTHOR

Graham TerMarsch (cpan@howlingfrog.com)

Back to Top


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.

Back to Top


SEE ALSO

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

Back to Top

 Alien::Prototype - installing and finding Prototype JS library