Re:File Parser

2001-09-12 Thread Jorge Goncalvez
Hi, I would like to open a file , and know if it contains the word DHCPDISCOVER on it , How can I do this in Perl? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re:File Parser

2001-09-04 Thread Jorge Goncalvez
Hi, I tried to make a parser to display some information in labels widgets written in Perl TK. My file is cygwin_syslog.txt and my code is: my ($f)=@_; $thistime=(stat($f))[9]; return if ($thistime == $mtime); $mtime=$thistime; my