
Devel::argnames provides an arg_names function that returns the names associated with @_. this makes it easy to define a more user friendly debugging function that prints out the values passed to a subroutine together with the associated variable names.