in reply to Shortcutting namespaces in Inline::Java

The documentation shows how to import java class files as Perl classes, so that you then only have to do:
my $irsHeader = new IrsHeader();
__________________________________________________________________________________

^M Free your mind!

Replies are listed 'Best First'.
Re^2: Shortcutting namespaces in Inline::Java
by suaveant (Parson) on Apr 24, 2007 at 18:09 UTC
    That's not quite the same (at least I don't think it is)... I am importing jar files using study, not writing Java code inline, and I don't control the jar files.

                    - Ant
                    - Some of my best work - (1 2 3)

      Whether using the studying features or not, you still have to import the .jar files to be able to use the shorter Perl syntax -- there is an example of that in the documentation I already linked under the studying section.
      __________________________________________________________________________________

      ^M Free your mind!

        I'm looking all over but I'm missing it... I see the bit on study_classes but that looks like the package argument it takes puts ALL the classes under that package.

                        - Ant
                        - Some of my best work - (1 2 3)