hi
If you can use Apache as a webserver, I'm a fan of mod_perl and libapreq.
The latter enables you to write things like :
my $req = Apache2::Request->new( $r ) ;
#récupérer les arguments
my (%args, @args) ;
#recherche des paramètres de la requête
@args = $req->param ;
for ( @args ) {
$args{ $_ } = Encode::decode_utf8( $req->param($_) ) ;
#les double-quotes et les <> viennent interférer avec le html
$args{ $_ } =~ tr/<>"/'/ ;
#cas de la barre espace, qui décale la colonne suivante; on suppri
+me
$args{ $_ } =~ s/^\s+$// ;
}
which gives you a nice hash with all the parameters sent.
The former (mod_perl) enables you to act at all levels of the apache request cycle, and do pretty much what you want with the request.
There is a bit of learning curve, but well worth the investment IMO, especially considering the fact that you know Perl already.
https://marica.fr/
Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.