0
I Use This!
Activity Not Available

Project Summary

The library's primary aim is to make the wealth of libraries on CPAN available to Ruby. It should also serve as an easier approach to glue different-language software projects, or as a language migration path.

It is based on Yoshidam's Perl library, with some minor updates and fixes. It builds on that work by offloading a lot of meta-magic to a Ruby script which attempts to perform introspection on Perl classes (using Devel::Symdump), and creating classes in Ruby with appropriate methods.

It still needs a fair bit of work, but currently you can do this kind of thing (require hacking a la ruby-python):

require 'perl'
require 'perl/spreadsheet/parse_excel'

# put class in top-level namespace. Perl is currently a class so you can't include
Spreadsheet = Perl::Spreadsheet

# extend perl class in ruby
class Spreadsheet::ParseExcel
class Worksheet
def inspect
# Worksheet is a blessed hash, "instance variables" are hash members
"#"
end
end
end

book = Spreadsheet::ParseExcel::Workbook.parse 'test.xls'
# note that the array of worksheets is stored in this hash key:
p book['Worksheet']
# => [#]

Tags

perl ruby

In a Nutshell, ruby-perl...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU General Public License v2.0 or later
Permitted

Place Warranty

Commercial Use

Modify

Distribute

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    compare projects before you chose one to use
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis