my $newtitle = HTML::Element->new ('title'); $newtitle = $newtitleh1; my $newtitleh1 = $tree->look_down ('_tag', 'h1');