in reply to Re: "use" modifier code via import()
in thread "use" modifier code via import()
I was intending to combine the use with the value override because I like the way that Test::More does this. In my opinion, it is a good place to set a one-time value, without polluting the namespace. It keeps the code compact from the user's perspective.
Regarding the import trick, I will ensure it is clearly- and well-documented. I didn't think of it as a trick, because I had seen it before in standard Perl distribution code, and considered it tacitly accepted by the community at a minimum, and familiar at least to those who write unit tests.
Thank you for responding. I respect your opinion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: "use" modifier code via import()
by tilly (Archbishop) on May 18, 2004 at 00:37 UTC | |
|
Re: Re: Re: "use" modifier code via import()
by perrin (Chancellor) on May 18, 2004 at 01:10 UTC | |
by tye (Sage) on May 18, 2004 at 02:04 UTC | |
by perrin (Chancellor) on May 18, 2004 at 03:17 UTC | |
by hv (Prior) on May 18, 2004 at 03:40 UTC |