Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: new initiate on the path..

by sundialsvc4 (Abbot)
on Apr 01, 2013 at 19:29 UTC ( #1026538=note: print w/ replies, xml ) Need Help??


in reply to new initiate on the path..

Excellent.   Welcome aboard!   (And, congratulations!)

Definitely spend some time here:   http://search.cpan.org

The reason why I say that is anchored in a bit of wisdom that I first encountered in a completely-unrelated book that I read many dozens of years ago:

Actum Ne Agas:   Do Not Do A Thing Already Done.

“Extracting data from txt files and pdf files,” and “compiling them into a new pdf file,” all more-or-less fall into the purview of “a thing already done,” albeit not-quite.   Any (and every) problem that you are likely to encounter on-the-job will actually turn out to be “slightly a brand-new application or twist on mostly what has been done before.”   There are no Brownie-points to be earned from reinventing the wheel.   Put this URL onto the bookmarks-bar of your web browser, and refer to it constantly.

For example, this particular requirement could be broken-down in this way, by our intrepid Perl programmer who knows that “laziness is a virtue” ...

  • How do I gather data from a (particular variety of) TXT file?   Or a PDF file?  Solved.
  • How do I “extract data from” them?   Good luck!
  • How do I modify a PDF file?   Solved.
  • How do I modify a PDF file in a way that is suitable to my particular application?   Good luck!

You will have plenty of challenges in front of you.   Just make sure that you do not find yourself unnecessarily reinventing wheels.   As a matter of instinct, to the greatest extent possible, leverage “prior art.”

Also:   Be sure to make full use of this resource! (perlmonks)   If you stumble into a stumbling-block ... ask.   You have a great many sympathetic friends here.   All things considered, ’tis better that you ask sooner rather than later.   All of us have clients to be served.   All of us are beholden to them all.


Comment on Re: new initiate on the path..
Re^2: new initiate on the path..
by PerlSufi (Friar) on Apr 02, 2013 at 00:11 UTC
    Thanks sundial, I have been practically living on the cpan website the past couple days. You can see some of what I have been working on at this node: PDF Extract tangent was a huge help in getting me to writing pdf to pdf. It is not quite the format I was envisioning right now, but it was way further than I was. As far as the potential job, I'll have to wait and see from what they think from the scripts that I have turned in. Most of the credit goes to you guys, honestly, for doing some of these things in the past and having sample code available on this site. I am still quite a n00b at this point :) peace, PerlSufi

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2014-12-22 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (119 votes), past polls