Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Transistor Counting from Excel Sheet.

by roboticus (Chancellor)
on Feb 06, 2018 at 08:56 UTC ( [id://1208548]=note: print w/replies, xml ) Need Help??


in reply to Transistor Counting from Excel Sheet.

jumdesumit:

I'd suggest installing Spreadsheet::ParseExcel on your machine, and reviewing the example code and/or test code to see how to read from the spreadsheet.

From there it's a simple matter to gather the data and compute the counts you're wanting.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: Transistor Counting from Excel Sheet.

Replies are listed 'Best First'.
Re^2: Transistor Counting from Excel Sheet.
by tel2 (Pilgrim) on Feb 08, 2018 at 00:20 UTC
    I don't think Spreadsheet::ParseExcel will work, because jumdesumit refers to an xlsx file (Transiotr_count.xlsx) and the description of Spreadsheet::ParseExcel says:
    "The module cannot read files in the Excel 2007 Open XML XLSX format. See the Spreadsheet::XLSX module instead."

    The "fun" bit might be reading the docx files (e.g. cell_report.docx), since there may be no modules which support the docx format, but pryrt's links above about docx may help.
    However, I've just tried this code for Windows (which uses Win32::OLE & Win32::OLE::Enum) and it successfully read my simple .doc and .docx files!  I wonder if there's a Linux alternative.

      tel2:

      That's a good point! I still suggest reading the examples from Spreadsheet::ParseExcel, but you're right that he'll want to use Spreadsheet::XLSX for his project, or one of the native Win::OLE ones.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-23 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found