in reply to Dump the key value pairs in a hash
use Data::Dump; sub genHTMLTableRow { my ($self, $args, $e ) = @_; # No triple shift dd for ($self, $args, $e); # It even rhymes! …; }
Untested as I’m on a mobile device and in a hurry 🤪😎
BTW, genHTMLTableRow sounds like something that a class does. It cries downright for a role. See Class::Tiny as well as Role::Tiny for further inspiration. Regards, Karl
Update: Fixed missing $ before self. Thanks choroba.
«The Crux of the Biscuit is the Apostrophe»
|
|---|