Re: What is 'new' doing?



On 11/22/2006 02:44 AM, Mathew Snyder wrote:
In this line of code what is 'new' doing?
my $users = new RT::Users(RT::SystemUser);

Mathew


It's equivalent to saying this:

my $users j= RT::Users->new(RT::SystemUser);

Read the "perlmod" document:

perldoc perlmod


.