Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Answer: Can I do Server-Side-Includes in Perl?

by qslack (Scribe)
on Nov 26, 2001 at 06:13 UTC ( [id://127462]=note: print w/replies, xml ) Need Help??


in reply to Re: Can I do Server-Side-Includes in Perl?
in thread Can I do Server-Side-Includes in Perl?

open(FILE, "filename") or die "$!\n"; print while <FILE>;
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.

Quinn Slack
perl -e 's ssfhjok qupyrqs&&tr sfjkohpyuqrspitnrapj"hs&&eval&&s&&&'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://127462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-26 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found