Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Very Flexible HTML Template System

by Zaxo (Archbishop)
on Jun 20, 2001 at 04:32 UTC ( #89877=note: print w/ replies, xml ) Need Help??


in reply to Very Flexible HTML Template System

I think sub ReadFile should be more portable about line ends:

sub ReadFile { unless (open(INFILE,"< $_[0]")) {return 0;} my $readin = join //, map {chomp;$_} <INFILE>; close(INFILE); $readin; }

I expect there are other spots needing similar treatment

I was tempted to change your open statement, but it's your code and that would change the interface.

After Compline,
Zaxo


Comment on Re: Very Flexible HTML Template System
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-23 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls