Alien::Prototype - installing and finding Prototype JS library


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 the Alien manpage 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.

install($destdir) Parameter: $destdir - Destination directory
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/, the Alien manpage.

 Alien::Prototype - installing and finding Prototype JS library