Hail,
Oreilly's book says..." To suppress this warning,
assign an initial
value to your variables."
what value should I attached to:
$content = $header_html . $1 . $footer_html;
from:
if($content=~m|<BODY.*?>(.*?)</BODY>|si) {
$content = $header_html . $1 .
$footer_html;
$content =~ s|%title%|$title|;
&save_file("$fullpath",$content);
print "Completed\n";
} else{
print "Couldn't parse: $!\n";
}
What does $1 point to?
thanks,
Stretch
=======
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]