in reply to Re^3: What to test in a new module
in thread What to test in a new module
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 +'};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: What to test in a new module
by jdporter (Paladin) on Jul 10, 2023 at 14:22 UTC |