From: Chris W. <la...@us...> - 2005-10-20 19:36:12
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30733/OpenInteract2 Modified Files: Setup.pm Log Message: A::D was upgraded and did not include these functions, so we'll just always put them in unless they're already there Index: Setup.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Setup.pm,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** Setup.pm 18 Mar 2005 04:09:48 -0000 1.61 --- Setup.pm 20 Oct 2005 19:36:02 -0000 1.62 *************** *** 175,179 **** { require Algorithm::Dependency; ! if ( Algorithm::Dependency->VERSION <= 1.03 ) { eval <<'WITHOUT'; --- 175,179 ---- { require Algorithm::Dependency; ! unless ( Algorithm::Dependency->can( 'without' ) ) { eval <<'WITHOUT'; *************** *** 200,203 **** --- 200,209 ---- } + WITHOUT + } + + unless ( Algorithm::Dependency->can( 'dependent_on' ) ) { + eval <<'DEPENDENTON'; + sub Algorithm::Dependency::dependent_on { my $self = shift; *************** *** 217,221 **** } ! WITHOUT } --- 223,227 ---- } ! DEPENDENTON } |