how does bugzilla detect the modules versions?
    Tsahi Asher 
    tsahi_75 at nospam.yahoo.com
       
    Mon Sep  8 18:30:07 UTC 2008
    
    
  
בתאריך 02/09/2008 12:27, ציטוט Gervase Markham:
> Tsahi Asher wrote:
>> (returns "undef" from DBI::Version and DBI::VERSION). so i was
>> wondering, how does bugzilla detects the version of a module, like DBI?
> 
> See Requirements.pm, have_vers() subroutine. Basically, it's built around:
> 
> eval "require $module;";
> 
> Gerv
excuse my ignorance in perl, but what does the
$vnum = eval { $module->VERSION } || -1;
line there does? in particular, the $module->VERSION?
tsahi
_______________________________________________
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