Alright, assuming Perl Tidy cannot do this, then my next question is, what are the best practices for object parameters? For example:
in reply to Re: Best practices and any way to have Perl Tidy clean it up
in thread Best practices and any way to have Perl Tidy clean it up
PARAM1 => $param1,
PARAM2 => $param2,
PARAM3 => $param3,
I'm trying to get a feel for how deal with this formatting. Amount of spaces for what's within the parentheses; do the parentheses line up? And so on. I know it's a rather stupid question, but after all these years it's something that is still bothering me. I format everything else beautifully, but when it comes to this I have always been rather clueless.
my Ssth = $dbh->prepare(
"SELECT * FROM DATABASE
WHERE name = '$name'
AND money = '$money'
AND field = '$field'