aspose file tools
The moose likes Perl and the fly likes is a perl script good to do this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "is a perl script good to do this?" Watch "is a perl script good to do this?" New topic

is a perl script good to do this?

Jaideep Kshirsagar

Joined: Aug 29, 2007
Posts: 27

I am new to PERL scripting.
I have a requirement where in I have to

1. query the database
2. based on result set, create objects of a JAVA class
3. cache these objects in Hashtable and
4. return the Hashtable.

Can a perl script do this for me?

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 351

You are talking two different languages here - Java and Perl. You can't create a Java object using perl, you can sure call a java program using perl or maybe maybe maybe something more with JNI.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
All of the steps are relatively easy to do in Java. Why would you want to introduce Perl into it?

There are ways of mixing Perl and Java if you're set on doing that, e.g. JPL .
I agree. Here's the link:
subject: is a perl script good to do this?