Get XML content using XML::Twig

2010-04-21 Thread alwaysonnet
Hello all, I'm trying to parse the XML using XML::Twig Module as my XML could be very large to handle using XML::Simple. Please help me out of how to print the values based on the following... get the values of Sender, Receiver get the FileType. In this case possible values are InitTAP,FatalRAP

Re: Monitor a directory for file creation

2008-01-23 Thread alwaysonnet
I've set of questions. 1) You want a perl script to monitor a particular directory 2) if so, we can make this script as a daemon so that it monitors the folder for the file. here is the sample code... #!/usr/bin/perl use strict; while (1) { # Monitor the folder here if (-e "/pat