What does "Useless use of a variable in void context at -e line 1." mean?
Sure, you can look up unfamiliar errors...
Why not let perl do the work for you?