Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I have no experience with constructing Perl code... I think only Perl can save me
Why do you think so? I am curious. If you have no experience with Perl, what makes you think that it can save you. From my experience, assuming I take your statements at face value, you probably will make your life miserable trying to accomplish this task with Perl. Why not do it with some other programming language that you might already know?

That said, yes, Perl definitely can assist you in this task. But Outlook fields are a mess. All kinds of esoteric information is stored in them, and you have to make sure fields map properly.

Is the website which has the information in your control? It is probably being powered by a database. Could you wrangle access to that database? If yes, your job will be much easier. If not, read on...

Do the following... instead of mucking around with Perl right-away, launch MS-Winword (assuming you have a reasonably modern copy of it). Open your website URL in Winword, and suck the entire website down, traversing each link till you have all the information. Now you will have all the info on your 'puter in one big mongo file.

Save that file as text, and scan through that looking for patterns. See if you can have Excel parse all that crap into columns.

Actually, you can also try opening the URL directly in Excel. It supports these web queries where it tries to parse out tabular info from html (if that is applicable to you).

Truly, Perl may be the most inappropriate tool for you given that you are "currently looking up how to even start a Perl script."

Good luck. You will need it.


when small people start casting long shadows, it is time to go to bed

In reply to Re: Extract data from website and transfer it to Outlook by punkish
in thread Extract data from website and transfer it to Outlook by Anonymous Monk

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (3)
    As of 2019-02-15 22:53 GMT
    Find Nodes?
      Voting Booth?
      I use postfix dereferencing ...

      Results (95 votes). Check out past polls.