Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Design elegance : How to best design this simple program ?

by pvaldes (Chaplain)
on Jun 18, 2012 at 18:37 UTC ( #976873=note: print w/ replies, xml ) Need Help??


in reply to Design elegance : How to best design this simple program ?

- find directories with spreadsheets of interest

Please define "spreadsheets of interest" How do you think you could take this files apart and not another spreadsheets uninteresting? that's a point that you'll need to solve

i need information from ALL of the spreadsheets in one directory

read about glob and wilcards like *.ods, *.xls or so

extension (file type) of your spreadsheets?

and i need information from a lines around $num_line-2, $num_line-2 and $num_line+1.

Didn't understand this part, sorry

- read all spreadsheets from a directory simultaneously

why simultaneoulsy? read file by file in the list provided by glob. A 1M file shouldn't be a real trouble to process

- calculate SOME_STUFF($num_line) on each line

what type of stuff?

- analyze and display the results

Probably the easy part


Comment on Re: Design elegance : How to best design this simple program ?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2015-07-02 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (37 votes), past polls