Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Rajeev Prasad
thx Octavian,   it looks nice, but not much lighter then CGI.pm. following is the size of ubuntu packages. will this be the size in memory once loaded?   the data is coming as POST. i am also thinkng to send it as JSON (later).    Download libcgi-simple-perl Download for all available architecture

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Octavian Rasnita
From: "Rajeev Prasad" Hi, without using CGI.pm how can i collect the values of a multiselect element? say for e.g.: < select name="hobbies" id="hobbies" multiple> Reading Books Writing Stories Collecting Coins Cross Stitching Tenis Playing Cricket < /select> when the form is submitted, i have

How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Rajeev Prasad
Hi,   without using CGI.pm how can i collect the values of a multiselect element?   say for e.g.:   < select name="hobbies" id="hobbies" multiple> Reading Books Writing Stories Collecting Coins Cross Stitching Tenis Playing Cricket < /select>   when the form is submitted, i have to get the selected

Re: Matching Greek letters in UTF-8 file

2011-09-29 Thread John Delacour
At 17:29 -0300 29/9/11, Brian Fraser wrote: On Thu, Sep 29, 2011 at 4:03 PM, John Delacour wrote: Nitpick: Why the upper-case charset name? Uppercase is UTF-8-strict, while lowercase is the lax version that perl uses internally. Unless you are passing data from one perl program to anothe

Re: Matching Greek letters in UTF-8 file

2011-09-29 Thread Brian Fraser
On Thu, Sep 29, 2011 at 4:03 PM, John Delacour wrote: > > Nitpick: Why the upper-case charset name? > Uppercase is UTF-8-strict, while lowercase is the lax version that perl uses internally. Unless you are passing data from one perl program to another, and you are using illegal-UTF8-but-legal-UT

Re: best AJAX tool/module ?

2011-09-29 Thread Brandon McCaig
On Thu, Sep 29, 2011 at 2:37 PM, Rajeev Prasad wrote: > i am simply trying to find a tool/module/method (as in English > word method) which would allow asynchronous XMLHTTPRequest to > be sent to perl CGI programs on my web server (or sub routines > in a perl script) and return the value(s) to web

Re: Matching Greek letters in UTF-8 file

2011-09-29 Thread John Delacour
At 11:59 -0300 29/9/11, Brian Fraser wrote: On Thu, Sep 29, 2011 at 10:58 AM, John Delacour wrote: use encoding 'utf-8'; Nitpick: Please don't use this, as encoding is broken. use utf8; and use open qw< :std :encoding(UTF-8) >; should make do for a replacement. Nitpick: Why the upper-c

Re: best AJAX tool/module ?

2011-09-29 Thread Rajeev Prasad
Hi Shlomi/all, i am simply trying to find a tool/module/method (as in English word method) which would allow asynchronous XMLHTTPRequest to be sent to perl CGI programs on my web server (or sub routines in a perl script) and return the value(s) to webpage to be displayed in the div i want to di

Re: Matching Greek letters in UTF-8 file

2011-09-29 Thread Brian Fraser
On Thu, Sep 29, 2011 at 10:58 AM, John Delacour wrote: > use encoding 'utf-8'; > > Nitpick: Please don't use this, as encoding is broken. use utf8; and use open qw< :std :encoding(UTF-8) >; should make do for a replacement. To the original poster, please note that there's a bit of a difference i

Re: Matching Greek letters in UTF-8 file

2011-09-29 Thread John Delacour
At 11:42 + 29/9/11, Hamann, T.D. (Thomas) wrote: I need to write a regex that matches any single Greek letter followed by a hyphen in a UTF-8 text file that is otherwise in English. How can I match the Greek alphabet (lower and upper case)? #!/usr/local/bin/perl use strict; use utf8; us

RE: Need help getting data from a structure..

2011-09-29 Thread Frank Kleinburg
List, First I would like to thank all who provided input.. With the help of the this list, I was able to figure out what I needed to change to get it all working.. And we have successfully kept VB out (Yippy!).. Now to the solution (note: I have copied the little test code and its output below..

RE: Need help getting data from a structure..

2011-09-29 Thread Weidner, Ron
> Can someone explain how to access $InstDesc?? Also please > explain how I would access (that is read from or write to) > to the $Severity scalar on the bottom structure.. > Thanks in advance.. flk Sure I can help. (or guide you astray) #!/usr/bin/perl use strict; use warnings; my %PlcyActi

Matching Greek letters in UTF-8 file

2011-09-29 Thread Hamann, T.D. (Thomas)
Hi, I need to write a regex that matches any single Greek letter followed by a hyphen in a UTF-8 text file that is otherwise in English. How can I match the Greek alphabet (lower and upper case)? Thanks, Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands