Is \$ a typo? It was supposed to be \& -- a backslash followed by an ampersand. I don't see how that (or any of code in your OP) would give you that error message though.
In reply to Re^3: Using File::Tail with name_changes
by FunkyMonk
in thread Using File::Tail with name_changes
by softcraft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |