Re: Print substitution ?
- From: michaelpgee@xxxxxxxxx
- Date: 29 Sep 2005 19:21:09 -0700
Try something more like:
my $name = 'Freddy';
open(my $header, '<', '../header.htm') or die "Can't read
'../header.htm': $!\n";
for (<$header>) {
s/(\$\w+)/$1/eg;
print_html($_);
}
close($header);
.
- Prev by Date: How a JAPH script on CPAN works.
- Next by Date: Re: Print substitution ?
- Previous by thread: How a JAPH script on CPAN works.
- Next by thread: Re: Print substitution ?
- Index(es):