-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 30, 2006, at 9:59 AM, Jay Strauss wrote:

Hi,

I'm trying to create some java code at runtime, and then use it within
my Inline::Java.  I have a package that "use"s Inline::Java, and
within that package, there is a method that creates a string
containing Java source.


Inline works at compile time, not runtime. You may be able to write some java code that uses a dynamic proxy to inspect the classes you're interested in. At that point you could generate symbols at runtime in perl to do whatever you want. IMO using reflection is probably going to be easier than parsing java code in perl to accomplish the same task.


- --
J.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFHn14vxud+cMTf5IRAoudAKDDKs1x2BLxpLue5j/PLF+Mqx8aJgCgg2rH
1tm9+Jd95kFbztbHn7W3pA8=
=o2S2
-----END PGP SIGNATURE-----

Reply via email to