sprintf is a good middle ground between interpolation and concatenation. I sometimes use that when the variable names are long enough to interfere with the readability of interpolation.
my $signed_payload = $sig_head{'t'} . '.' . $self->{'payload'}; my $signed_payload = sprintf '%s.%s', $sig_head{'t'}, $self->{'payload +'};
In reply to Re^4: What to test in a new module
by Arunbear
in thread What to test in a new module
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |