in reply to Re: P248 programming perl
in thread P248 programming perl
new does just allocate memoryEh?
It does if you're programming C++. In Perl, it's just a sub like any other. It happens to be the most popular name for a class constructor, but has no special characteristics. It certainly doesn't do any special memory allocation.
You may want to check the document you linked. :-)
|
|---|