Take a copy instead of weakening in 5.8 leak workaround
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Dec 2014 19:48:15 +0000 (19:48 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Dec 2014 19:48:58 +0000 (19:48 +0000)
commit2aa3f4c0bc1ce479776c96a1bc7bb44f7cfd1233
treef7d223e1939a3b9a89290dfb00e9ce499f9d0f4a
parent09380b0692fdb72739351fca93ee7fb696db365e
Take a copy instead of weakening in 5.8 leak workaround

I can't see a way $self could be the only strong reference to the
object: either $_[0] or some other copy would have to be strong in order
to have something to call the method on in the first place.  However,
let's not have everyone reading or editing the code have to do that
reasoning.
lib/DBIx/Class/Storage/DBI/Informix.pm
lib/DBIx/Class/Storage/DBI/Pg.pm