source: trunk/DNSDB.pm@ 804

Last change on this file since 804 was 804, checked in by Kris Deugau, 4 years ago

/trunk

Fix mysterious 'Variable "$foo" will not stay shared at ...' error by
converting the nested sub in _updateserial() to an anonymous sub, because
nested subs aren't really a properly supported thing as per eg
https://www.perlmonks.org/bare/?node_id=137292.

Several other instances of nested subs should arguably be converted as well,
although they shouldn't matter so much as they haven't triggered the error,
and as of a quick review don't make use of "parent" sub variables the way
the one in _updateserial() did.

  • Property svn:keywords set to Date Rev Author Id
File size: 260.0 KB

HTML preview not available, since the file size exceeds 256.0 KB.Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.