Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 scrutinizing the Monastery: (13)
As of 2014-09-19 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls