#!/usr/bin/perl # simple script to print out an HTML table. # Chris Seidel print "How many Rows? "; $_ = <>; unless (/\d/i) { print "I'm sorry to hear that!\n"; die; } $rows = $_; chop ($rows); print "How many Columns would you like?\n"; $_ = <>; unless (/\d/i) { print "I'm sorry to hear that!\n"; die; } $columns = $_; chop ($columns); open(RESULT, ">table.txt") ||die("can't open file"); print RESULT "