Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Perl Modules - Mod_Perl and CGI

by Trihedralguy (Pilgrim)
on Apr 30, 2013 at 03:56 UTC ( [id://1031307]=note: print w/replies, xml ) Need Help??


in reply to Reaped: Re^2: Perl Modules - Mod_Perl and CGI
in thread Perl Modules - Mod_Perl and CGI

What he is saying seems true and is the case when I'm most frustrated. Restarting Apache fixes the problem. What I'm hoping to discover is a solution to turn of the caching on the development machine, so that I can quickly make changes without having to restart or "refresh constantly" to un-cache an error.

Replies are listed 'Best First'.
Re^4: Perl Modules - Mod_Perl and CGI
by Anonymous Monk on Apr 30, 2013 at 08:05 UTC

    What I'm hoping to discover is a solution to turn of the caching on the development machine, so that I can quickly make changes without having to restart or "refresh constantly" to un-cache an error.

    Um, if you don't want a persistent process, with all the benefits it brings, run it as CGI :/

    OTOH, how tightly is your module/app coupled with Apache? you can always develop with plackup/Plack::Middleware::Refresh / Plack::Loader::Shotgun for faster reloading :)

    What he is saying seems true and is the case when I'm most frustrated.

    Sorry , but it isn't. He said if you change the Perl code, you must restart Apache. which is obviously false (hello Apache2::Reload) because like Apache2::Reload like reloads stuff

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found