How do you set vars via interactive startup?

2003-07-16 Thread Patrick Galbraith
Hi there, I'm trying to figure out how one would set vars via a startup.pl script or using PerlSections. I want to set a var on startup where I'll be prompted and a var that I can retrieve via $r-dir_config('FOO') will get me that value. I've tried endless ideas, none of which are working

Re: How do you set vars via interactive startup?

2003-07-16 Thread Perrin Harkins
On Wed, 2003-07-16 at 17:39, Patrick Galbraith wrote: I'm trying to figure out how one would set vars via a startup.pl script or using PerlSections. Is there a reason you can't just put it in a global? The dir_config() stuff is really for when you want to config something specific to a

Re: How do you set vars via interactive startup?

2003-07-16 Thread Patrick Galbraith
Yes, if I hardcode it, fine, but not via reading STDIN into a var, and then setting whatever to that var. On 16 Jul 2003, Perrin Harkins wrote: On Wed, 2003-07-16 at 17:39, Patrick Galbraith wrote: I'm trying to figure out how one would set vars via a startup.pl script or using