This is an automated email from the git hooks/post-receive script. js pushed a commit to tag 0.55 in repository libinline-java-perl.
commit 76497d5dafe4103c8f71f951b1b377b1bb7bbcc7 Author: Patrick LeBoutillier <p...@cpan.org> Date: Fri Aug 24 14:42:42 2001 +0000 *** empty log message *** --- Java.pod | 40 ++++++++++++++++++++++++++++++++++++++++ README | 4 ++++ 2 files changed, 44 insertions(+) diff --git a/Java.pod b/Java.pod index c98a892..e1b3991 100644 --- a/Java.pod +++ b/Java.pod @@ -492,6 +492,46 @@ and immediately studies the class. After that call the java::lang::HashMap class is available to use through Perl. +=head1 USING MULTIPLE SECTIONS + +If you wish to use more than one C<Inline::Java> section in your Perl script, +you will need to use the Inline NAME option to name your modules. You can then +use a special syntax in your CLASSPATH (either the environment variable or the +configuration option) to tell what Inline::Java modules it will need to load +at runtime: + + package Foo ; + use Inline { + Java => '<<END', + class Foo { + public Foo() { + } + } + END + NAME => "Foo", + CLASSPATH => "[PERL_INLINE_JAVA=Foo, Bar]", + ) ; + + package Bar ; + use Inline { + Java => '<<END', + class Bar { + public Bar() { + } + } + END + NAME => "Bar", + ) + + package main ; + my $f = new Foo() ; + my $b = new Bar() ; + +If you set the CLASSPATH via the configuration option, remember to do so in the +first Inline::Java section. Also remember that you can't use Java packages with +Inline::Java. Your classes must be in the unnamed package. + + =head1 JNI vs CLIENT/SERVER MODES Starting in version 0.20, it is possible to use the JNI (Java Native diff --git a/README b/README index 3e4e535..8e11418 100644 --- a/README +++ b/README @@ -83,6 +83,10 @@ WARNING: THIS IS ALPHA SOFTWARE. It is incomplete and possibly unreliable. It is also possible that some elements of the interface (API) will change in future releases. +Inline::Java version 0.23 is a minor upgrade that includes: ++ Support for multiple Inline::Java sections ++ Other minor bug fixes + Inline::Java version 0.22 is a minor upgrade that includes: + Support for Inline 0.41 + Addition of java.lang.Number as primitive numeric type -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits