in reply to Re: Can I do Server-Side-Includes in Perl?
in thread Can I do Server-Side-Includes in Perl?
also works, and it's a bit more concise. You will want to change the die part for your specific application, but it's better than no error handling.open(FILE, "filename") or die "$!\n"; print while <FILE>;
|
|---|