The simple answer is that you're not invoking File::Tail's new constructor properly. From the POD: "If it has only one paramter, it is assumed to be the filename. If the open fails, the module performs a croak."
You're asking File::Tail to open a file named, "D:\ServerTools\Logs\ServerLog\((\d+)-(\d+)-(\d+)@(\d+)-(\d+)\.log". That's a very unlikely file name. It looks more like a regexp appended to a path.
Dave
In reply to Re: Help w/ regex in filename
by davido
in thread Help w/ regex in filename
by dcthehole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |