Ken, Why don't you post a few lines of the data that you are trying to match, especially the lines that match.
Dirk Bremer - Systems Programmer II - ESS/AMS - NISC St. Peters 636-922-9158 ext. 652 fax 636-447-4471 [EMAIL PROTECTED] www.nisc.cc ----- Original Message ----- From: "Ken Fox" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Wednesday, March 27, 2002 15:28 Subject: RE: deterministic regexps (missed something) > Folks - > > $check is not set following the line > if ($line=~ =~/$megapat/ ) { > > because I am trying to figure this part out -- actually, One of the issues > I am having is that $megapat is currently matching every line in the file... > which is not really what I intended. > > Other notes - in the load config file sub, there's a line preceding the > individual config entries showing the previoius hardcoded versions -- > > I think that if I can get the $megapat to match the right lines, I can wrap > the pattern itrself in parens like Dirk suggested (I had thought of that > too) and grab $1 for the match and do a reverse lookup again. > > -- Thanks, ken _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs