The error means that the Perl interpreter thought that there was a
regular expression (hence, "regex") at line 443 which had an unmatched
square bracket.  I don't see anything wrong with the line 443 in Karl's
posting, nor do I see what should have been a regular expression, in
that line, which I see as:
 
  if ( $DupeHolder =~ $sortedcleanedtests[$placecounter] ) {
 
I hope that helps the two of you get on the same page...
 
Andrew 8)
 


________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Lists - Declude JunkMail
        Sent: Thursday, December 07, 2006 1:29 PM
        To: declude.junkmail@declude.com
        Subject: RE: [Declude.JunkMail] New Reporting Tool


        Thanks so much for this!
         
        I tried it out and it errors out as follows:
         
         File path : g:/logarchive/
         Processing a single day
         
         Opening File : g:/logarchive/dec1206.log

........................................................................
........

.................................................................
         
         Sorting arrays and cleaning up data
        Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE weight/
at f:\tools\dis
        tro-declog.pl line 443.
         
        My log is 20mb if that matters.

________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of IS - Systems Eng. (Karl Drugge)
        Posted At: Thursday, December 07, 2006 1:53 PM
        Posted To: Lists - Declude JunkMail
        Conversation: New Reporting Tool
        Subject: [Declude.JunkMail] New Reporting Tool



         

        The newest PERL script. Slices, dices, etc ... Throw it in a
directory, edit a few environment variables at the top of the script,
dump in a few Declude logs, run it, enjoy. Requires PERL, of course.

         

        Added two command line switches : 'day' and 'week' . Day does
the previous day, week does the previous week. No command line switch,
and you do all the logs in the directory. This can be memory
intensive....... You have been warned ! My own server, with 11-13k log
files, consumes 700+ megs of memory when doing an entire month. Folks
with larger files might want to think about doing this many files at
once.

         

        Karl Drugge

         

         




        ---
        This E-mail came from the Declude.JunkMail mailing list. To
        unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
        type "unsubscribe Declude.JunkMail". The archives can be found
        at http://www.mail-archive.com. 
        ---
        This E-mail came from the Declude.JunkMail mailing list. To
        unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
        type "unsubscribe Declude.JunkMail". The archives can be found
        at http://www.mail-archive.com. 
        ---
        This E-mail came from the Declude.JunkMail mailing list. To
        unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
        type "unsubscribe Declude.JunkMail". The archives can be found
        at http://www.mail-archive.com. 



---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to