Help for this page

Select Code to Download


  1. or download this
    local *func = $main::{"Lua::${modname}::${funcname}"}
    
  2. or download this
    package Lua;
    
    ...
    1;
    
    __END__
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    $lua->run( 'foo', 'Greet', 'grandma', 'pie' );
    
    __END__
    
  4. or download this
    function Greet( name, treat )
        print( "Hello, " .. name .. ".  Would you like some " .. treat .. 
    +"?\n" )
    end