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

StaticVolt::Convertor - Base class for StaticVolt convertors

VERSION

version 1.00

METHODS

has_convertor

Accepts a filename extension and returns a boolean result which indicates whether the particular extension has a registered convertor or not.

convert

Accepts content and filename extension as the parametres. Returns HTML after converting the content using the convertor registered for that extension.

FUNCTIONS

register

Accepts a list of filename extensions and registers a convertor for each extension.

AUTHOR

Alan Haggai Alavi <haggai@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Alan Haggai Alavi.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)