>equate to this m!!x attempt: > > 21 while ( my $line = <LOG> ) { > 22 while ( m! > 23 ^# # match lines that start with >'#' > 24 CommunityID=399 # or lines that >contain > 25 /developersupport/testfiles > 26 /remotegadgets/marks/gadget/ > 27 !x) > 28 print NEWLOG; > 29 } >
you have a nested while loop without its own set of {} for starters. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]