Re: [Shorewall-users] Macro files bug

Tom Eastep
Sat, 27 Oct 2007 21:15:22 -0000

Andrew Suffield wrote:
> On Sat, Oct 27, 2007 at 09:57:00AM -0700, Tom Eastep wrote:
>
>> e) The script includes an implicit "package
Shorewall::User;".
>
> Can you do that to the regular extension scripts too?

Done.

> I anticipate
> that the "normal" way to use this will be to write all your code
in
> the initdone(?) script (or suck it in there via ''use'')
and just call
> functions using the single-line variant, so you''d want them all to
be
> in the same package.

I''ve added a ''compile'' compile-time user exit. It
gets invoked early in
the compilation process.

>
>
> Also, while we''re on the subject, please stick:
>
> unshift @INC, @config_dirs;
>
> somewhere early in the compiler, so that ''use'' searches
them.

Done.