[ANN] Inline::Lua 0.01
From: Tassilo v. Parseval (tassilo.parseval_at_rwth-aachen.de)
Date: 06/25/04
- Previous message: Wolfgang: "Perl Module installation instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Jun 2004 04:58:35 GMT
I am very pleased to announce a new submission to the CPAN, Inline::Lua.
>>From the perldocs:
NAME
Inline::Lua - Perl extension for embedding Lua scripts into Perl code
SYNOPSIS
use Inline 'Lua';
print "The answer to life, the universe and everything is ", answer(6, 7), "\n";
__END__
__Lua__
function answer (a, b)
return a*b
end
# Have Lua access functionality from Perl modules
use Inline 'Lua';
use LWP::Simple;
luaget(\&get, "http://www.google.com/");
__END__
__Lua__
function luaget(get, page)
io.write( get(page) )
end
DESCRIPTION
Inline::Lua allows you to write functions in Lua. Those of you who are
not yet familiar with Lua should have a cursory glance at
<http://www.lua.org/> to get a taste of this language. In short:
Lua was designed to be embedded into other applications and not so much
as a language on its own. However, despite its small set of language
features, it is an extremely powerful and expressive language. Its
strong areas are an elegant and yet concise syntax, good overall per-
formance and a beautiful implementation of some concepts from the world
of functional programming.
[...]
COPYRIGHT AND LICENSE
Copyright (C) 2004 by Tassilo von Parseval
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.8.4 or, at
your option, any later version of Perl 5 you may have available.
Lua 5.0 Copyright (C) 2003-2004 Tecgraf, PUC-Rio.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
- Previous message: Wolfgang: "Perl Module installation instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|