The Perl Advent Calendar needs more articles for 2022. Submit your idea today!
package t::RoutineTester;

use strict;
use warnings;

sub test_routine
{
   my ( $in, $out ) = @_;

   while( my $ref = $in->recv ) {
      my $value = $$ref;
      $out->send( \ uc $value );
   }
}

0x55AA;