buzzsb;694386 Wrote: 
> Hi Triode, looked at the Contextmenu code myself and indeed it looks
> like the $log is undefined and maybe the module is loaded too early
> (there is no issue with a manual version whatsoever). How could I check
> whether the $log is already defined? Another possibility is that $log is
> not a valid file handle anymore as a side effect of something else
> (might be related to my perl version, but as I said, use the official
> LMS distribution)

add:
print "log: $log\n";

Try moving the place where this module is used to inside the BEGIN
clause of Plugin.pm  Don't see why I don't see this at present.  The
BEGIN should happen before anything else so I was expecting it to work,
would be good to understand what is going on.


-- 
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to