+--------------------------------------------------------------+ | Check No. $chkno | | $first $last | | $addr[0] | | $addr[1] | | $phone $date | | | | Pay to the | | Order of: $payee $amount | | | | For: $memo Stamped Signature | | | +--------------------------------------------------------------+ #### #!/usr/bin/env perl use warnings; use strict; print "Please enter the check number: "; chomp (my $chkno = ); print "Please enter your first and last name: "; chomp (my $first = ); chomp (my $last = ); print "Please enter your house number (or PO box) and street name: "; chomp (my $one =); print "Please enter your city, state, and zipcode: "; chomp (my $two = ); my @addr = {$one, $two}; print "Please enter your phone number: "; chomp (my $phone = ()); print "Please enter the date: "; chomp (my $date = ); print "Please enter the payee's name: "; chomp (my $payee = ); print "Please enter the amount to be paid: "; chomp (my $amount = ); print "Please enter a memo for the check: "; chomp (my $memo = ); format CHECK = +--------------------------------------------------------------+ | Check No. @##### | $chkno, | @<<<<<<<<< @||||||||||||||| | $first, $last, | @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< | $addr[0], | @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< | $addr[1], | @<<<<<<<<<< @|||||||||||||||||| | $phone, $date, | | | Pay to the | | Order of: @|||||||||||||||||||||||||||| @#####.## | $payee, $amount, | | | For: @<<<<<<<<<<<<<<< Stamped Signature | $memo | | +--------------------------------------------------------------+ . write (CHECK);