Debian Codegraph @

t/testprog

raw
1
2 use strict;
3 use warnings;
4
5 my $p = 'tpt %d> ';
6
7 printf( $p, 0);
8 while( <> )
9 {
10 do { print "byebye\n"; last }
11 if /quit/;
12
13 print uc( $_ );
14 printf( $p, $.);
15 }
16
17 print "quit> \n";