Hello All,
The Data::FormValidator docs say:
field_filters
field_filters = {
cc_no = ['digit'],
},
A hash ref with field names as keys. Values are array references of
built-in filters to apply (trim,digit,etc) or an anonymous subroutine
which should take one parameter, the field
Hello all,
I'm trying to pass a list via the param method. I don't see this
discussed in the docs, and it seems via some brief experiments that I
need to pass a reference to an array. Am I missing something?
--Fred
-
Web
Very Fine Work.
Thanks for contributing this to the community.
Cheers
--Fred
-Original Message-
From: Steve Comrie [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 10:54 AM
To: cgiapp@lists.erlbaum.net
Subject: [cgiapp] XMLHTTPRequest / Remote Scripting / AJAX
Good
All,
In my next project I'll be making a lightweight document management system. The
specs are fairly simple:
* use existing infrastructure: Oracle DB, perl on vanilla cgi webserver and
existing authentication system
* Provide upload, storage and access to .PDF, .xls, .doc etc.
* Support Meta
I take it that this works exclusively under mod_perl and not on a vanilla web server.
--Fred
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Mark Stosberg
Sent: Wednesday, September 08, 2004 7:00 PM
To: [EMAIL PROTECTED]
Subject: [cgiapp] Proposal: improving
I should mention that I use Text::CSV and Text::CSV_XS (the difference being pure perl
vs. not AND that the XS version supports binary data in the fields).
# Output
use Text::CSV_XS;
my $csv_out = Text::CSV_XS-new( {'binary' = 1});
while ( my @row = $sth-fetchrow_array ) {
I think it would be a good idea to have this as part of C::A, mostly due to the
reasons tha Cees sited; that it is very simple to understand and use once it has been
written, but it is not necessaraly obvious before it is written.
I do find it interesting that most programmers that use C::A
Hello Dan,
(as an aside, I visited Kiwi land recently and found it amazingly wonderful).
I wanted to interject:
You don't need Root to install perl modules for your purposes. If you find it
troublesome to have the modules installed in the default perl installation, you can
simply install the
Here's a really brain dead example:
#
sub report_dump {
my $self = shift;
my $out = Dumper $RCF{report_defs};
my $t = $self-load_tmpl('simpleText.tmpl',die_on_bad_params=0);
$t-param( output_text = $out,);
return $t-output;
}
-Original Message-
From: Michael Peters [mailto:[EMAIL PROTECTED]
Cees:
As an example of how it works, I have put up new versions of the
CGI::Application::Session and CGI::Application::TT modules on my website
(http://cees.crtconsulting.ca/perl/modules/), as well as a tarball
I hope we don't get into a flame war on this. I understand the usenet convention is
to NOT top post. In my company email (which I use for this list) the convention IS to
top post when replying to emails.
I don't care as long as quotes are attributed in some way.
--Fred
-Original
secondsBR#;
} #end cgiapp_postrun
=
Fred Kleindenst [EMAIL PROTECTED]
Internet Platforms
310.302.3801
-Original Message-
From: Kleindenst, Fred
Sent: Tuesday, June 29, 2004 3:41 PM
Cc: [EMAIL
Hello,
I'd like to measure the time taken to execute each particular hit to cgi::app and
display the result.
My thoughts on how to implement this are roughly:
* get the time $T1 in cgiprerun - store in $self
* get the time $T2 in cgipostrun and compute the difference
* output the result as a
My two cents on load_tmpl:
In my work I found that its behavior was not to my taste/needs so ended up overriding
it anyway. From the responses, it seems that others have too. Therefore, I concur
with William McKee when we says:
load_tmpl should be an abstract method that
must be
Hello all,
I'm am busy RTFM right now trying to get the syntax correct on the following:
I want to set the header of an HTML page I am returning so that it contains a meta
refresh going to another runmode.
Why? I plan to display page 1 that contians an interstitial message explaining a long
[EMAIL PROTECTED]
Internet Platforms
310.302.3801
-Original Message-
From: Kleindenst, Fred
Sent: Thursday, April 01, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: [cgiapp] Question on header_props and meta refresh
Hello all,
I'm am busy RTFM right now trying to get the syntax correct
All,
I am using Data::FormValidator to provide input checking/constraints/filters for my
CGI::Application.
Data::FV makes it easy to code constraints on $B and $C, or to require $B and $C if $A
exists by setting up rules contained in a hash structure. Like so...
# snip
dependencies =
After you run check_rm you'll want to use items from $res-valid to put
into the DB to get the untainted entries.
See perldoc Data::FormValidator for the correct syntax.
Cheers
=
Fred Kleindenst [EMAIL
18 matches
Mail list logo