On Monday 11 September 2006 15:34, Peter Grey wrote:
> I will receive an XML file onto a server I am setting up. I need to
> examine the file and detect text in a payload section. Based on what
> I find I examine a lookup table and send a SMS message  via a GSM
> modem attached to the server via a USB port. Any clues where I can
> find Perl script to help?
>
> Thanks
>
>
> Peter

Hi Peter

No real answers for you but a couple of questions.

1) how much perl do you want to learn and how dirty do you want to get your 
hands?
2) how complicated is the XML file you will be receiving.

If the answer's are not very dirty, and very complicated, look at 
http://search.cpan.org/search?query=xml&mode=all
There are plenty of XML modules, many of which have examples and 
documentation.

If the answer's very dirty, and not very complicated, have a go at reading the 
file directly, and parsing the contents.

I've got a basic script that I use to read .xml files written by MS Excel, as 
I find that's the easiest way to import multi-sheel Excel spreadsheets.

Gary
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to