You could just use "do" instead of "use".
Bill
On Sat, 17 Mar 2001, Kee Hinckley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> (Quite) a while back I complained about the problems of debugging a
> module that's in use by an Embperl page.
>
> [- use mylib; -]
> ...
> The problem is that Embperl cashes mylib the first time it loads it,
> and then you start getting really random results as you change mylib.
> Some processes have new versions, some have old versions....
>
> Maybe there's a better workaround, but I think I have a solution.
>
> In the embperl file, or even in the library, add the following:
> [- $req_rec->child_terminate(); -]
> That will cause the current apache process to terminate after
> processing this request, thus ensuring that the next time you execute
> a request you'll get a different process that will (assuming it never
> loaded this page before you added that line) have to load the library
> again. That way you can keep editing the library and see the changes
> without having to repeatedly reinitialize the Apache server.
>
> Obviously you should take it out when you're done debugging--the
> effect on performance is noticeable.
>
>
>
> - --
>
> Kee Hinckley - Somewhere.Com, LLC - Cyberspace Architects
> Now Playing - Folk, Rock, odd stuff - http://www.somewhere.com/playlist.cgi
>
> I'm not sure which upsets me more: that people are so unwilling to accept
> responsibility for their own actions, or that they are so eager to regulate
> everyone else's.
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBOrOFUyZsPfdw+r2CEQKw2wCg0PhsF1KTJldGk7eKtgxhgazhWQgAn2Ca
> zXWKntPDdzbmXBBtZ8jFaLdd
> =/waQ
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]