File: RoutineTester.pm

package info (click to toggle)
libio-async-perl 0.805-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: perl: 13,938; makefile: 8
file content (16 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package t::RoutineTester;

use v5.14;
use warnings;

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

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

0x55AA;