Biblio::Thesaurus::ModRewrite::Embed - a module to embed OML programs


Biblio-Thesaurus-ModRewrite documentation  | view source Contained in the Biblio-Thesaurus-ModRewrite distribution.

Index


NAME

Top

Biblio::Thesaurus::ModRewrite::Embed - a module to embed OML programs in Perl code.

SYNOPSIS

Top

  use Biblio::Thesaurus::ModRewrite::Embed;

  OML proc
  $city 'city-of' $country => sub { print "$city is in $country\n"; }.
  ENDOML

  proc('ontology.iso');

DESCRIPTION

Top

This module can be used to embed OML programs in Perl source code. This module works as a filter for the source code, so you should only need to load it.

FUNCTIONS

Top

buildOML

This function is used to create a new funcion to execute the OML code found.

FILTER

This filters your Perl source code.

EXAMPLES

Top

Look in the examples and bin directory for sample programs.

AUTHOR

Top

Nuno Carvalho, <smash@cpan.org>

J.Joao Almeida, <jj@di.uminho.pt>

Alberto Simoes, <albie@alfarrabio.di.uminho.pt>

COPYRIGHT & LICENSE

Top


Biblio-Thesaurus-ModRewrite documentation  | view source Contained in the Biblio-Thesaurus-ModRewrite distribution.