in reply to Re: Using File::Tail with name_changes
in thread Using File::Tail with name_changes

I got another problem when I use strict refs. The error came out was "Can't use string as a symbol ref while "strict refs" in use. It came from the ref used in name_changes=>\$change. Is there alternative to this?
  • Comment on Re^2: Using File::Tail with name_changes

Replies are listed 'Best First'.
Re^3: Using File::Tail with name_changes
by FunkyMonk (Bishop) on Aug 04, 2007 at 18:36 UTC
    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.

      Thanks.. I have just noticed the typo and it works fine now.