Don't ask to ask, just ask | |
PerlMonks |
•Re^2: Create a constructor named the same as your package name!by merlyn (Sage) |
on Jul 01, 2004 at 14:15 UTC ( [id://371088]=note: print w/replies, xml ) | Need Help?? |
It's arguably your namespace, because if someone else were to create that subroutine name, it would mess up all of your class methods.
-- Randal L. Schwartz, Perl hacker
In Section
Cool Uses for Perl
|
|