lisaw has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl { &header; } sub header { $header="header.htm"; open (HEAD,$header) || die "can't open $header"; $header=""; while (<HEAD>){$header .=$_;} close(HEAD); $header=~s/\<LIST\>/My_List/gie; print "Content-type: text/html\n\n"; print "$header"; } 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replacing a Tag With a List
by jdporter (Paladin) on Nov 30, 2006 at 21:24 UTC | |
|
Re: Replacing a Tag With a List
by Joost (Canon) on Nov 30, 2006 at 21:14 UTC | |
|
Re: Replacing a Tag With a List
by swampyankee (Parson) on Nov 30, 2006 at 20:56 UTC | |
by jdporter (Paladin) on Nov 30, 2006 at 22:52 UTC |