in reply to Re: How about a module for "passwords"?
in thread How about a module for "passwords"?

It sounds like your package Attr should be exporting the struct. Then the script can use Attr qw/%struct/; instead of the two additional lines you have there.

I see the point of the system, though. Multiple scripts can use the same configuration data, and that data can be protected and treated differently than the scripts.

—John

Replies are listed 'Best First'.
Re: Re: Re: How about a module for "passwords"?
by Ryszard (Priest) on Jan 27, 2003 at 07:05 UTC
    yeah, good call, there was some reason i didnt do it in the 1st place, probably laziness.. ;-)