in reply to Using File::Tail with name_changes
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using File::Tail with name_changes
by softcraft (Initiate) on Aug 03, 2007 at 00:49 UTC | |
|
Re^2: Using File::Tail with name_changes
by softcraft (Initiate) on Aug 04, 2007 at 17:49 UTC | |
by FunkyMonk (Bishop) on Aug 04, 2007 at 18:36 UTC | |
by softcraft (Initiate) on Aug 05, 2007 at 02:21 UTC |