Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Perl Modules - Mod_Perl and CGI

by Trihedralguy (Pilgrim)
on Apr 30, 2013 at 03:56 UTC ( #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
Node Status?
node history
Node Type: note [id://1031307]
help
Chatterbox?
[shmem]: choroba: it's hessisch
[Corion]: Not every Krug is a Bembel!
[karlgoethebier]: there is just the mug: 🍺
[Corion]: A Bembel must look like this
[karlgoethebier]: https://de. wikipedia.org/ wiki/Bembel#/ media/File: Bembel_Zum_blauen_ Bock_1978.jpg
[choroba]: as my friend says, Ich stehe Deutsche ver nicht aber klein ;-)
[Corion]: Krug is generic pottery ware for pouring beverages, but a Bembel is painted with that blue paint and contains only (!) Apfelwein
[shmem]: Corion: alas, air too.
[Corion]: shmem: Yes, very sad!
[choroba]: doesn't sound much useful, which means I'll probably remember it

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2017-05-24 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?