Biblio::Thesaurus::ModRewrite::Embed - a module to embed OML programs in Perl code.
use Biblio::Thesaurus::ModRewrite::Embed; OML proc $city 'city-of' $country => sub { print "$city is in $country\n"; }. ENDOML proc('ontology.iso');
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.
This function is used to create a new funcion to execute the OML code found.
This filters your Perl source code.
Look in the examples and bin directory for sample programs.
Nuno Carvalho, <smash@cpan.org>
<smash@cpan.org>
J.Joao Almeida, <jj@di.uminho.pt>
<jj@di.uminho.pt>
Alberto Simoes, <albie@alfarrabio.di.uminho.pt>
<albie@alfarrabio.di.uminho.pt>
Copyright 2008 Nuno Carvalho, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Biblio::Thesaurus::ModRewrite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Biblio::Thesaurus::ModRewrite
CPAN shell
perl -MCPAN -e shell install Biblio::Thesaurus::ModRewrite
For more information on module installation, please visit the detailed CPAN module installation guide.