| Description: |
calling 'objectName list' will overwrite the instance variable $plugin with the last entry in the returned list
e.g if a pattern is specified that returns multiple plugins, the last one will be asssigned to $plugin.
This means a subsequent call to 'objectName plugin' can return the wrong name.
This seems to be a result of using plugin for the capture variable in the list method:
foreach p [$sip eval {package names}] {
if {![regexp $pattern $p -> plugin]} continue
lappend result $plugin
}
|