Instead of trying to implement various clever detection methods, File::Tail will call the code reference defined in name_changes. The code reference should return the string which is the new name of the file to try opening.You're using a sub call name_changes => &change and you should be using a code ref: name_changes => \&change (note the backslash).
In reply to Re: Using File::Tail with name_changes
by FunkyMonk
in thread Using File::Tail with name_changes
by softcraft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |