Re: Feeding an array

2004-04-21 Thread Jan Eden
Hi Ben, - Original Message - From: Ben Miller Sent: 21.04.2004, 9:16 Uhr >Hi Jan, > >Thanks for your help. That's what I need. I had tried something >similar earlier using () to surround the variable rather than []. My >next question is: when I try to print a specific member of the array

Re: Feeding an array

2004-04-21 Thread WC -Sx- Jones
Ben Miller wrote: Thanks for the advice. I'm using a couple CPAN modules to do this: LWP::Simple; HTML::TokeParser; If there are any others you think would be helpful, please let me know. http://search.cpan.org/~sburke/HTML-Tree-3.18/lib/HTML/Tree.pm -- _Sx_ http://youve-reached-the.endoftheinte

Re: Feeding an array

2004-04-21 Thread Ben Miller
On 4/21/04 9:29 AM, WC -Sx- Jones wrote: > Ben Miller wrote: >> Hi Jan, >> >> Thanks for your help. That's what I need. I had tried something similar >> earlier using () to surround the variable rather than []. My next question >> is: when I try to print a specific member of the array I get an er

Re: Feeding an array

2004-04-21 Thread WC -Sx- Jones
Ben Miller wrote: Hi Jan, Thanks for your help. That's what I need. I had tried something similar earlier using () to surround the variable rather than []. My next question is: when I try to print a specific member of the array I get an error message if I use 'print $result[0];' for example. In fa

Re: Feeding an array

2004-04-21 Thread Ben Miller
Hi Jan, Thanks for your help. That's what I need. I had tried something similar earlier using () to surround the variable rather than []. My next question is: when I try to print a specific member of the array I get an error message if I use 'print $result[0];' for example. In fact, any thing I tr

Re: Feeding an array

2004-04-21 Thread Jan Eden
Hi Ben, - Original Message - From: Ben Miller Sent: 21.04.2004, 7:49 Uhr >Hello, > >This is my first post and I'm working on my first real Perl program. >I'm trying to feed an array using information scraped off another >web page. I've got the scraping working no problem, but each of the

Feeding an array

2004-04-21 Thread Ben Miller
Hello, This is my first post and I'm working on my first real Perl program. I'm trying to feed an array using information scraped off another web page. I've got the scraping working no problem, but each of the words I pull from the other page are treated as part of a single variable. For example: