I don't think you'll quite be able to have it be as modular as you would like 
since it creates globals.

I'd recommend looking at the package, since it is in plain text, make a copy 
and modify it to your needs.

But since you have to deal with the variables it sets anyway, it seems like 
you could just eval a single parameter list, rather than trying to parse 
things:

sub foo ($)
{
   eval $_[0];
        ...
}

And you would call it like this:

foo ('$myopt_foo = "bar"; $myopt_baz = "fum";');


-- 
Listening changes what we are listening to.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to