# Perl2ruby or inline::perl?

**URL:** <https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503>\
**Category:** Ruby\
**Created:** [April 14, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503 "2009-04-14T16:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![judge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@judge](https://www.ruby-forum.com/u/judge)\
**Post date:** [April 14, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503/1 "2009-04-14T16:32:38Z")

</div>

I would like to use the exiftool library for exif/iptc/xmp image  
metadata  
manipulation, but it’s written in Perl. Since it seems somehow wrong and  
definitely inefficient, I was wondering if there was any sort of  
perl2ruby  
convertor, or if there was an inline::perl module that could at least  
take  
the Perl and compile it to bytecode.

Paul

---

<div class="post-metadata">

**Author:** ![judge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@judge](https://www.ruby-forum.com/u/judge)\
**Post date:** [April 14, 2009, 8:51pm UTC](https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503/2 "2009-04-14T20:51:04Z")

</div>

On Apr 14, 2009, at 07:32, Paul A. wrote:

> I would like to use the exiftool library for exif/iptc/xmp image  
> metadata manipulation, but it’s written in Perl. Since it seems  
> somehow wrong and definitely inefficient, I was wondering if there  
> was any sort of perl2ruby convertor, or if there was an inline::perl  
> module that could at least take the Perl and compile it to bytecode.

None of these are suitable?

$ gem search -r exif

\*\*\* REMOTE GEMS \*\*\*

exifr (0.10.8)  
extexif (1.0.1)  
mini\_exiftool (1.0.1)  
multi\_exiftool (0.0.1)

---

<div class="post-metadata">

**Author:** ![judge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@judge](https://www.ruby-forum.com/u/judge)\
**Post date:** [April 17, 2009, 10:03pm UTC](https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503/3 "2009-04-17T22:03:51Z")

</div>

On Wed, 15 Apr 2009, Eric H. wrote:

> \*\*\* REMOTE GEMS \*\*\*
> 
> exifr (0.10.8)  
> extexif (1.0.1)

Both are exif-only. EXIF is the metadata the camera writes. It is  
writable/modify-able, but mostly to add gps info, or correct dates.  
IPTC and XMP have fields to add much richer metadata: caption,  
description, keywords, etc.

> mini\_exiftool (1.0.1)  
> multi\_exiftool (0.0.1)

Both are interfaces to the Perl based exiftool mentioned above.

Paul

---

<div class="post-metadata">

**Author:** ![judge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@judge](https://www.ruby-forum.com/u/judge)\
**Post date:** [April 20, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/perl2ruby-or-inline-perl/165503/4 "2009-04-20T14:51:10Z")

</div>

Paul A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > $ gem search -r exif
> > 
> > [snip]
> > 
> > mini\_exiftool (1.0.1)  
> > multi\_exiftool (0.0.1)
> 
> Both are interfaces to the Perl based exiftool mentioned above.  
> What do you want to do? I don’t belive that executing Perl bytecode is  
> _much_ faster than using the command-line interface of exiftool.

Regards,  
Jan
