>perl -e"sub print { shift; CORE::print(qq{[@_]\n}); } __PACKAGE__->pr +int('foo'); [foo]
Whether it will lead to confusion or not is up to you.
In reply to Re: is it ok to name object methods after core functions?
by ikegami
in thread is it ok to name object methods after core functions?
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |