leocharre has asked for the wisdom of the Perl Monks concerning the following question:
Having a subroutine named 'log' or 'exists' would be silly. What about object method names, though? Is there potential for trouble there?
Like $o->open()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: is it ok to name object methods after core functions?
by citromatik (Curate) on Aug 02, 2007 at 15:17 UTC | |
|
Re: is it ok to name object methods after core functions?
by ikegami (Patriarch) on Aug 02, 2007 at 15:19 UTC | |
|
Re: is it ok to name object methods after core functions?
by Fletch (Bishop) on Aug 02, 2007 at 15:29 UTC | |
|
Re: is it ok to name object methods after core functions?
by dsheroh (Monsignor) on Aug 02, 2007 at 18:05 UTC | |
|
Re: is it ok to name object methods after core functions?
by archfool (Monk) on Aug 02, 2007 at 15:50 UTC | |
|
Re: is it ok to name object methods after core functions?
by Joost (Canon) on Aug 02, 2007 at 20:29 UTC | |
|
Re: is it ok to name object methods after core functions?
by codeacrobat (Chaplain) on Aug 03, 2007 at 06:50 UTC | |
by adrianh (Chancellor) on Aug 03, 2007 at 12:36 UTC |