how does bugzilla detect the modules versions?

Max Kanat-Alexander mkanat at bugzilla.org
Tue Sep 9 00:32:13 UTC 2008


On Mon, 08 Sep 2008 21:30:07 +0300 Tsahi Asher
<tsahi_75 at nospam.yahoo.com> wrote:
> $vnum = eval { $module->VERSION } || -1;
> 
> line there does? in particular, the $module->VERSION?

	$module->VERSION is the modern standard way of getting the
version of the module. By default, it returns $module::VERSION. (So,
for example, if $module = 'DBI', then we're looking at $DBI::VERSION.)

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list