op.c: Factor common ‘existing sub’ logic into static routine
authorFather Chrysostomos <sprout@cpan.org>
Sat, 24 Nov 2012 07:47:05 +0000 (23:47 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 24 Nov 2012 15:35:51 +0000 (07:35 -0800)
commit2b141370e47820eefd315393146f44b116c3b058
treedadcbc2e9a454e7d1a68a8c6b8371dc2c26fe2c2
parentee0832ceab256e5d1ed74d0767fa3bd420bc5bd6
op.c: Factor common ‘existing sub’ logic into static routine

newMYSUB and newATTRSUB are very similar but differ in small ways
throughout.  This particular block of code is close enough it can be
moved into a separate static routine to avoid repetition.
op.c