###################################################################### +###### sub print_form ###################################################################### +###### { my $output_file = "template.sthml"; open(OUTPUT, "$output_file") || print "There is no file here, I'll run + away now!"; $table_rows = &add_row; while(<OUTPUT>) { $_=~s/<!-- (TBROWS) \/\/-->/$table_rows/g; print $_; } close OUTPUT; }####################################################### EDN PRINT FO +RM SUB
In reply to Sub Return Value Help by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |