in reply to Help w/ regex in filename

Hello dcthehole, and welcome to the Monastery!

Some additional observations:

  1. You should always use strict.
  2. Subroutines should be called like this: Loop() rather than like this: &Loop (unless you have a good reason to disable prototypes).
  3. Module File::Tail does not install on Windows. You carefully set $bWin but then don’t use it when initialising $file.
  4. Subroutine Loop calls Updata_DB_Actions, then Update_DB_Actions calls Loop. This is a recipe for infinite recursion.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Help w/ regex in filename
by dcthehole (Novice) on Jul 06, 2013 at 04:16 UTC

    Thank you for that additional info. And I was using the loops to cause the recursion purposefully. And as for the File::Tail module I downloaded a patch by Steffen Mueller that was created for windows 5 years ago.