On 3/24/21 7:54 AM, Dagfinn Ilmari Mannsåker wrote: > Andrew Dunstan <and...@dunslane.net> writes: > >> And here it is. No subclass, no eval, no magic :-) Some of my colleagues >> are a lot happier ;-) >> >> The downside is that we need to litter PostgresNode with a bunch of >> lines like: >> >> local %ENV = %ENV; >> _set_install_env($self); > I think it would be even neater having a method that returns the desired > environment and then have the other methods do: > > local %ENV = $self->_get_install_env();
Yeah, that's nice. I'll do that. Thanks. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com