in reply to Any last words?
die "Expected ", scalar (@ref), " arguments, got ", scalar (@arr), "\n +";
rather than having to explicitly concatenate the strings:
die "Expected " . scalar (@ref) . " arguments, got " . scalar (@arr) . + "\n";
The downside to this is that the args are obviously also concatenated when you pass the to a handler.
pike
|
---|