Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: unpack implementation

by dHarry (Abbot)
on Jan 07, 2011 at 14:44 UTC ( [id://881082]=note: print w/replies, xml ) Need Help??


in reply to unpack implementation

I need to write the java implementation for unpack function of perl

Do you really need to implement *all* of unpack's functionality??

I can think of several approaches (each of them having pros and cons):

  1. Use Perl from Java
  2. (re)use/fiddle with the C implementation of unpack via the JNI (Java Native Interface)
  3. Implement only the unpack functionality that you need in Java. The Apache Commons could be a starting point.
  4. Think again! Maybe Java is not the right choice?!

Anyway, not knowing the reason behind you wanting to implement a "jUnpack" it sounds a bit like a XY Problem.

Cheers,

Harry

Replies are listed 'Best First'.
Re^2: unpack implementation
by siraj (Sexton) on Jan 07, 2011 at 15:30 UTC
    Thanks a lot for your suggestions.

    Regards,
    Siraj

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://881082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-25 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found