removed "installing sdl" as it's already there
[sdlgit/SDL_perl.git] / lib / SDL / Game / Rect.pm
index 15fe1c9..92e0948 100644 (file)
@@ -210,7 +210,9 @@ sub midbottom {
 ## methods                   ##
 ###############################
 
-sub duplicate {
+{
+    no strict 'refs';
+    *{'duplicate'} = *{copy};
 }
 
 sub copy {