projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ec34623
)
implemented 'duplicate' as 'copy' alias
Breno G. de Oliveira [Sun, 4 Oct 2009 08:10:59 +0000 (
05:10
-0300)]
lib/SDL/Game/Rect.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SDL/Game/Rect.pm
b/lib/SDL/Game/Rect.pm
index
15fe1c9
..
92e0948
100644
(file)
--- a/
lib/SDL/Game/Rect.pm
+++ b/
lib/SDL/Game/Rect.pm
@@
-210,7
+210,9
@@
sub midbottom {
## methods ##
###############################
-sub duplicate {
+{
+ no strict 'refs';
+ *{'duplicate'} = *{copy};
}
sub copy {