start page | rating of books | rating of authors | reviews | copyrights

Programming Perl

Programming PerlSearch this book
Previous: 3.2.97 my Chapter 3
Functions
Next: 3.2.99 next
 

3.2.98 new

new 

CLASSNAME

 

LIST

 new 

CLASSNAME

There is no built-in new function. It is merely an ordinary constructor method (subroutine) defined (or inherited) by the CLASSNAME module to let you construct objects of type CLASSNAME . Most constructors are named "new", but only by convention, just to delude C++ programmers into thinking they know what's going on.


Previous: 3.2.97 my Programming Perl Next: 3.2.99 next
3.2.97 my Book Index 3.2.99 next