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 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 > directory or virtual host. > > > I've tried things like a set method that sets a class variable of the > > handler I'm calling in startup.pl.. doesn't work. > > Something like this doesn't work? > > $Some::Package::Foo = 7; > > - Perrin > -- Patrick Galbraith Senior Software Developer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]