DBIx-glueHTML
view release on metacpan or search on metacpan
glueHTML.pm view on Meta::CPAN
=item B<set_logfile> B<(>I<Logfile name>B<);>
$DBinterface = new DBIx::glueHTML ($cgi, $dbh, $table, 1);
$DBinterface->set_logfile("/usr/local/logs/mydb-log");
$DBinterface->check_params();
Enables logging of SQL changes to the database automatically
without providing a callback. The script will open the file
specified, with no locking (Althoughthis might be added in
future). The file must be writeable to the CGI, on UNIX you
normally need to I<chmod 666 mydb-log>. However this may
differ depending on your system and what operating system
you have.
NOTE: check_params() MUST be called or glueHTML will not function correctly.
=cut
sub set_logfile {
# $self $logfile;
$_[0]->{LOGFILE} = $_[1];
}
( run in 0.373 second using v1.01-cache-2.11-cpan-8d75d55dd25 )