in reply to Shortcutting namespaces in Inline::Java

Well, the class name is just a string, but you can't use indirect object syntax with an indirect class name, so you'd have to use the arrow notation instead:
use constant IrsHeader => "com::ftid::fisi::methodology::irs::evaluato +r::IrsHeader"; IrsHeader->new();
Hope this helps.

Replies are listed 'Best First'.
Re^2: Shortcutting namespaces in Inline::Java
by suaveant (Parson) on Apr 24, 2007 at 20:17 UTC
    Heh... it works, though it gives me a not-so-fresh feeling... hrm...

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