[dancer-users] Plugin globals, and sharing database connections between plugins

Andrew Beverley andy at andybev.com
Wed Feb 18 13:04:24 GMT 2015

On Wed, 2015-02-18 at 08:32 +0000, D Perrett wrote:
> My gut feeling is that as an application developer I could make some
> use of it but as a plugin developer I would much prefer to use
> function/method calls and I would much prefer to expose only function
> calls and not guarantee the nature of any global variables.
> One reason is order of execution. What happens if the global is not
> (and cannot be) set until a given keyword is called the first time?

Thanks for the feedback Daniel. All makes a lot of sense when you put it
like that. I think I've got another way of doing what I was trying to
achieve, so I'll try and finish that and then I'll post some details



More information about the dancer-users mailing list