how does bugzilla detect the modules versions?

Tosh, Michael J michael.j.tosh at lmco.com
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 lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list