File: demo_single.pl

package info (click to toggle)
libperl6-form-perl 0.090-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 584 kB
  • sloc: perl: 3,080; makefile: 8
file content (32 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
use Perl6::Form;

print form {single=>'^'},{single=>'='},{single=>'_'},
		   '~~~~~~~~~',
		   '^ _ = _ ^',
		   qw(Like round and orient perls),
		   '~~~~~~~~~';

print "\n--------------------------\n\n";

print form {single=>'='},
           '   ^',
           ' = | {""""""""""""""""""""""""""""""""""""}',
			 "Height",
				 [<DATA>],
		   '   +------------------------------------->',
		   '    {|||||||||||||||||||||||||||||||||||}',
				"Time";

__DATA__
      *
    *   *
   *     *
          
  *       *
           
 *         *
          
         
        
*           *