[ensembl-dev] Suggestion for "ensembl/conf/perl.startup"

Youens-Clark, Ken kclark at cshl.edu
Mon Oct 29 16:49:23 GMT 2012


I get some complaints about the "perl.startup" file:

Bareword "Apache2::ServerUtil::restart_count" not allowed while "strict subs" in use at perl.startup line 124.

So adding "()" to call the function fixes that:

124c124
< if (Apache2::ServerUtil::restart_count == 1) { # Only parse the config on first pass
---
> if (Apache2::ServerUtil::restart_count() == 1) { # Only parse the config on first pass

--
Ken Youens-Clark
kclark at cshl.edu
Ware Lab/CSHL/USDA-ARS





More information about the Dev mailing list