programming-examples/perl/Datatype/Demonstrates the reference syntax.pl
2019-11-15 12:59:38 +01:00

14 lines
333 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
use CGI::Pretty qw( :standard );
print( header(),
start_html( 'Demo' ),
p( 'Some', 'random', 'text' ),
p( { -align => 'right' }, 'right', 'aligned text' ),
p( { -align => 'center' },
[ 'on', 'separate', 'lines' ] ),
end_html() );