Hi, all
I was asking this question on perlmonks but no response so far.
http://www.perlmonks.org/?node_id=542103
probably i should have asked here :)
question
Hi,
I am new to C::A and Class::DBI. I have two questions during the learning
process.
1. In my C::A script, I have
--- Michael Peters [EMAIL PROTECTED] wrote:
Giannis Economou wrote:
Hello...
James.Q.L wrote:
Hi,
I am new to C::A and Class::DBI. I have two questions during the
learning process.
1. In my C::A script, I have
$self-mode_param( path_info= 1 );
then i
--- Giannis Economou [EMAIL PROTECTED] wrote:
Hello...
James.Q.L wrote:
Hi,
I am new to C::A and Class::DBI. I have two questions during the learning
process.
1. In my C::A script, I have
$self-mode_param( path_info= 1 );
then i will request http://localhost/movie/945
--- Michael Peters [EMAIL PROTECTED] wrote:
James.Q.L wrote:
--- Michael Peters [EMAIL PROTECTED] wrote:
Giannis Economou wrote:
Hello...
James.Q.L wrote:
Hi,
snip
the 2.0 release has more functions added in and look promising.
I don't have much experiences
--- Mark Stosberg [EMAIL PROTECTED] wrote:
On 2006-04-27, B Wooster [EMAIL PROTECTED] wrote:
I've seen people use Javascript (changing text on a page), using
redirects, etc to handle the case where a please wait screen has to
be shown on a submit.
Are there best practices on doing this
--- Robert Hicks [EMAIL PROTECTED] wrote:
How do I use the various Data::FormValidator built-in constraints like
'zip_or_postcode' and 'email' and the like?
Do I need to use Data::FormValidator::Constraints qw(:closures); to
get those built-ins before I use them?
here is what did
use
--- Jason Purdy [EMAIL PROTECTED] wrote:
I added the votes up and also surveyed the #cgiapp folks:
HT: 7 (Karen, Renee, Ed, Joel, John, Jason, CromeDome)
TT: 4 (Adrian, Dan, Barry, hide)
Both: 2 (mpeters, Scott)
I'm a HT guy, myself. I like how it doesn't have a lot of the
hi,
poking through C::A src code and i noticed that one can return a scalar
reference as output from a
runmode. as indicated by the followying lines from run subroutine.
# Support scalar-ref for body return
my $bodyref = (ref($body) eq 'SCALAR') ? $body : \$body;
# Build up total output
my
Hi,
i am using C::A::P::ValidateRM and it has been great. one thing i don't like
what i am doing is
the way of organizing customized message for form error.
currently i have something like this:
constraint_methods = {
a_field = sub { my ($dfv, $val) = @_;
-- Michael Peters [EMAIL PROTECTED] wrote:
James.Q.L wrote:
i am wondering how are other people using DFV and i would like to adopt a
simpler and
maintaintable way..
I usually have a custom method that I pass as the value for 'msgs' that
creates
a hash of error flags for me
--- Michael Peters [EMAIL PROTECTED] wrote:
James.Q.L wrote:
[snip]
but it does give you the real flexiablity of setting up customized message.
one question though, if a field (say username) required at least lenght of
6 and contain only
number and alphabet. how do you show
--- Lee Carmichael [EMAIL PROTECTED] wrote:
Hello Everyone,
I need to capture exceptions caused in the cgiapp_prerun sub. In my
situation, I want to verify
a set of environmental parts that are used in many run modes. So instead of
verifying these each
time, I would like to do it in
sorry, didn't have time to read through your email.
you should check out the wiki, this page maybe help
http://www.cgi-app.org/index.cgi?OrganizeApp
also search the list archive as this is a question asked few times before.
James.
--- [EMAIL PROTECTED] wrote:
SUMMARY:
How should I
--- Mark Fuller [EMAIL PROTECTED] wrote:
1. You're storing $dbh and $uuid as a param in C::A. Why are you
passing them as parameters instead of retrieving them from param?
I store ONLY $uuid in param because i need it in other controller. i am passing
$dbh to Company::
modules because these
--- Mark Fuller [EMAIL PROTECTED] wrote:
On Sun, Mar 16, 2008 at 4:31 PM, James.Q.L [EMAIL PROTECTED] wrote:
I store ONLY $uuid in param because i need it in other controller. i
am passing $dbh to
Company:: modules because these modules are not inherited from C::A.
The example your
--- Mark Fuller [EMAIL PROTECTED] wrote:
On Mon, Mar 17, 2008 at 7:05 AM, James.Q.L [EMAIL PROTECTED] wrote:
I might be missing the point, but what's wrong with storing $uuid in
Company::Util as an our variable and accessing it from anywhere as
$Company::Util::uuid ?
correct me
hi,
I don't remember seeing anyone send email about hey, this app is powered by
CGI::Application on
this list recently.. or forever. but i just wrote one that helps me organize
reading digest. it is
quite simple - register an account then type up anything worth to save.. the
app is at
--- Lyle webmas...@cosmicperl.com wrote:
Michael Peters wrote:
Stewart Heckenberg wrote:
I like MIME::Lite -- has a very simple attachment interface :)
MIME::Lite is what I've used in the past, although the Perl Email
folks don't recommend it. Apparently it's very crufty on the
Hi,
It seems that C::A::D always sets the runmode to $rm_HTTP_METHOD even when $rm
is not set, which produces a _HTTP_METHOD runmode. that' doesn't work when
start_mode is expected to be run. it is due to the following code in the sub
dispatch { } from CAD,
if( $auto_rest ) {
-0800, James.Q.L wrote:
Hi,
It seems that C::A::D always sets the runmode to
$rm_HTTP_METHOD even when $rm is not set, which produces a
_HTTP_METHOD runmode. that' doesn't work when start_mode is
expected to be run. it is due to the following code in the
sub dispatch { } from CAD
Thanks for reporting it on RT.
I think C::A::D should respect C::A's start_mode. If no rm is defined in
C::A::D rules, the start_mode in the dispatched module should be used.
A sentence of describing the use of start_mode in C::A::D is sufficient.
James.
--- On Fri, 3/11/11, Ron Savage
Hello,
I am trying to get a C::A app work in nginx fastcgi environment (debian 6.0)
and using spawn-fcgi.
C::A route is configured using $self-mode_param( path_info= 1, param = 'rm'
);
the problem is that whatever C::A app urls (example.com/cities,
example.com/profile/ etc ) I am
22 matches
Mail list logo