File: RoutineTester.pm

package info (click to toggle)
libio-async-perl 0.802-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,184 kB
  • sloc: perl: 13,932; makefile: 8
file content (16 lines) | stat: -r--r--r-- 208 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;