Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Create a html page on fly

by Riales (Hermit)
on Mar 16, 2012 at 20:36 UTC ( #960064=note: print w/ replies, xml ) Need Help??


in reply to Create a html page on fly

Try adding or die "Cannot open $filename" to the end of that open line:

open HTML, ">tmp/$filename" or die "Cannot open $filename";
EDIT: Yeah, what chromatic and JavaFan already covered...


Comment on Re: Create a html page on fly
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-10-02 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (46 votes), past polls