RE: Inline Java and casting from Object to String

2005-07-15 Thread Ken.Williams
, 2005 2:05 PM > To: [email protected] > Subject: Inline Java and casting from Object to String > > Hi > > I'm trying to use Inline-Java 0.50, and I am having a problem. > > I have a class instantiated, the class has a method that > returns an Object. > In Java,

Inline Java and casting from Object to String

2005-07-15 Thread James Mancz
Hi I'm trying to use Inline-Java 0.50, and I am having a problem. I have a class instantiated, the class has a method that returns an Object. In Java, I'd have to cast the Object to a String: String id = (String) bo.getValue("id_number"); In Perl, I would do something such as this: