how does bugzilla detect the modules versions?

Tosh, Michael J michael.j.tosh at
Mon Sep 8 19:02:48 UTC 2008

Quoting Tsahi Asher:
> excuse my ignorance in perl, but what does the
> $vnum = eval { $module->VERSION } || -1;

Attempt to find the global variable, VERSION, of the object loaded into
$module.  If successful store that value in the variable $vnum,
otherwise store -1 in that variable.

Basically, the $module Object needs to have a global VERSION defined.
dev-apps-bugzilla mailing list
dev-apps-bugzilla at

More information about the developers mailing list