Weigert, Thomas wrote:
If you pass only for arguments, the remaining two are undefined. Undefined is not the same as '' or 0, albeit often it works the same (and the latter gives less errors). It would be good to understand what should be assigned as key if no key is given. On this key and func parameters, I am not sure what they are used for... So I am nervous. In particular, if it removed warnings, that means that somewhere key is used in a calculation.... Th.
or we should just believe the GT::Systems::Module->new pod statement "Create a new Systems with the given arguments. $args is optional, useful for Systems which use non-usual input streams." and the similar statement from GT::Signals::Module->new "Create a new signal with the given arguments. $args and $key are optional, they are useful for signals which use non-usual input streams." since because both of these new methods make a call to the same? manage_object method at GT::Registry::manage_object, fix (if necessary) that method to allow $key and $args to truly be optional. ras << snip >>