ch I think would be
sufficient, but am not preloading the subclass modules that
it uses. I am not sure whether that matters or not.
sub handler is never overridden in the subclasses.
Thanks for your help.
--
Matthew Pressly
Any ideas on what causes this or a good way to track it down?
--
Matthew Pressly
the
parameters are missing (not in query string and not in POST
data). This should fix most of the currently
failing cases without much more code.
Thank you all for your help.
--
Matthew Pressly
the problem? Currently the content handler
does detect that the required parms are missing and then dumps
the complete request and timestamp into the error log.
Also, please let me know if there is a more appropriate forum
to ask this question.
--
Matthew Pressly
ises the section of code where the missing "use" was needed
(i.e.subroutine or method call to module that wasn't loaded).
--
Matthew Pressly
I have a number of perl modules that manage their own persistence
to a SQL database via DBI. I discovered a flaw in my current
approach which was to use an Apache::Singleton::Process
object to create a connection and in modules that needed a
connection, store the connection in a lexically scoped
7;, ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Matthew Pressly
directory tree alongside the modules they
are used by or into an entirely separate tree that only contains templates. The
latter is probably better for sites that have some division of labor between coders
and HTML designers, but that's not the case on this one.
Thank you for all the help.
Matthew Pressly
e approach is
>documented in my Perl.com article about the eToys design. I keep all
>the common setup stuff in a base class that the other controllers
>inherit from.
This is a very helpful article. I have read it several times and still keep coming
back to it. I would also like to learn more about the "model-view-controller"
approach in general.
>- Perrin
Matthew Pressly
g else except that memory sharing is lost because reload occurs in the
children" but wanted to check before I go down that path.
Matthew Pressly
->new(INCLUDE_PATH => "tt",
PRE_PROCESS => "config.tpl",
PRE_CHOMP => 1,
);
#--- END ---
Matthew Pressly
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Jan 19 2001 05:42:10
%ENV:
PERL5LIB="/home/mpressly/development/library"
@INC:
/home/mpressly/development/library
/usr/lib/perl5/5.6.0/i586-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i586-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
.
Matthew Pressly
] Sticky forms with
hierarchical template vars".
A list of submissions is available (by subject) at:
http://www.template-toolkit.org/pipermail/templates/2002-January/subject.html
a few of these posts have sample code that transforms the result of a form post back
into a hierarchical data stru
th, should
set "InactiveDestroy" on all their shared handles.
Note that some databases, including Oracle, don't supĀ
port passing a database connection across a fork.
--
Matthew Pressly
> >> I am sorry but this topic is confusing me...
14 matches
Mail list logo