Perl's equivalents of "include" are use, require and do. However, all of those methods expect the file that you're including to be Perl code, not HTML.
So I think that perhaps you want to just open the files and read the contents. Or maybe you should be looking at Server Side Includes or a decent Templating system.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: How to include files in perl?
by davorg
in thread How to include files in perl?
by sbhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |