Subject:
|
Re: Access a LEGO set DB with your phone!
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Mon, 18 Mar 2002 02:31:04 GMT
|
Viewed:
|
249 times
|
| |
| |
In lugnet.off-topic.geek, Christopher L. Weeks wrote:
> > > http://guide.lugnet.com/set/list/bynumber.txt
>
> So I've figured out what I want to happen with this data source. Now,
> if only I were a programmer! I've spent the last eight hours trying to
> learn enough perl to massage the data into a multidimensional array,
> but I think I'm giving up, for the day at least. I can't find a
> reference, tutorial, or FAQ that describes more than the basic
> concepts of References without completely unintelligable techspeak. If
> anyone has a source, I'd love to read it.
ahhh, you said the magic word (perl) :) If you could explain to me
exactly what you need, I'll give ya a script that will do it :)
> Also, what tool should I be using the parse that web page? I can't
> seem to get the right expression to make split break it down by the
> fields apparent in the table. Am I missing something simple?
you could use perl for that too, except that why load the server more
then you need to? get the list file, parse that, and you have the whole
Guide in one request, instead of a request for each set...
Let me know if I can help,
:)
Dan
|
|
Message has 1 Reply: | | Re: Access a LEGO set DB with your phone!
|
| (...) Well, I've discarded the first part...the explanatory text up through the big ________. Then I've read the rest of the file into an array where each item in the array is one line. So now I'm trying to split() the @array[items] by column, (...) (23 years ago, 18-Mar-02, to lugnet.off-topic.geek)
|
Message is in Reply To:
| | Re: Access a LEGO set DB with your phone!
|
| (...) I were a programmer! I've spent the last eight hours trying to learn enough perl to massage the data into a multidimensional array, but I think I'm giving up, for the day at least. I can't find a reference, tutorial, or FAQ that describes more (...) (23 years ago, 17-Mar-02, to lugnet.off-topic.geek)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|