in reply to Re^2: Invalid argument
in thread Invalid argument

Because handlefix(); sends nothing to @_ in your sub.

Take a look at perlsub, @_ is local

grep
XP matters not. Look at me. Judge me by my XP, do you?