Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] UserDB functions



I use existing database, and information about clients (which can be
person or company) are in the different tables.
I want to override new_account function.
How it should be looking, like this -

GlobalSub <<EOF
sub new_account {
	package Vend::Module;
	use MyModule;
	sub new_account {
		&MyModule::new_account($Values->{name},
		$Values->{password});
	}
}
EOF
where MyModule is a name of a file without .pm

Is it ok?

my best regards,
-----------------------------
Grigoriy G. Vovk


_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: