Re: Simple cgi email

2010-02-04 Thread Robert H
On 2/2/10 1:46 PM, Uri Guttman wrote: "RH" == Robert H writes: RH> I am just trying to do a simple emailer for a site. I came up with the RH> following and was wondering if there are any security issues that jump RH> out. check out NMS versions of the classic cgi mail script. it w

Re: Need email list for Perl/Tk questions

2010-02-04 Thread Owen
> Besides this forum, does anyone know of a good Perl/Tk email > list/forum in which to ask questions about Perl/Tk? You can try comp.lang.perl.tk which is fairly quiet -- Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.o

Re: Need email list for Perl/Tk questions

2010-02-04 Thread Paul Johnson
On Thu, Feb 04, 2010 at 10:22:00PM +, Tony Esposito wrote: > Besides this forum, does anyone know of a good Perl/Tk email list/forum in > which to ask questions about Perl/Tk? https://mailman.stanford.edu/mailman/listinfo/ptk It's rather quiet, so be patient. -- Paul Johnson - p...@pjcj.ne

Need email list for Perl/Tk questions

2010-02-04 Thread Tony Esposito
Besides this forum, does anyone know of a good Perl/Tk email list/forum in which to ask questions about Perl/Tk?

Re: complex subroutine arguments

2010-02-04 Thread John W. Krahn
Eric Mooshagian wrote: On Thu, Feb 4, 2010 at 2:24 AM, John W. Krahn wrote: Eric Mooshagian wrote: I have a few subroutines that I use to first build an index for several arrays and then, for example, take the mean for the index values. When I build the index I can exclude particular values

Re: Best Practices: define variables at the top or just prior to when they are referenced?

2010-02-04 Thread Uri Guttman
> "KW" == Kenneth Wolcott writes: KW> Arguments in code reviews come up frequently regarding the KW> "correct" placement of variables; either at the top of the script KW> or just prior to the point of use. KW> I noticed in a recent thread that John W. Krahn stated: "It is usually

Best Practices: define variables at the top or just prior to when they are referenced?

2010-02-04 Thread Kenneth Wolcott
Hi; Re: Best Practices: define variables at the top or just prior to when they are referenced? We don't have a formal Coding Standard in the CM/Build team I'm a part of. We have Solaris, Linux and Windoze platforms, but (gratefully!) most of the scripting is with the UNIX/Linux side rather

Re: complex subroutine arguments

2010-02-04 Thread Eric Mooshagian
On Thu, Feb 4, 2010 at 2:24 AM, John W. Krahn wrote: > Eric Mooshagian wrote: > >> Dear All, >> > > Hello, > Hi John, Thanks for the notes. > > I have a few subroutines that I use to first build an index for several >> arrays and then, for example, take the mean for the index values. When I >

Re: 1-line text file with numbers, need to add to them

2010-02-04 Thread John W. Krahn
Chris wrote: I need some help with this problem. I've got a text file datafile with 1 line of data comprised of 30 different numbers delimited with ~s. I need to open this file, grab this line of data, split it into individual numbers, perform some simple math (addition) on each number, and then

Re: multiple onchange on 1 cgi file

2010-02-04 Thread Shlomi Fish
On Thursday 04 Feb 2010 14:09:11 salmia wrote: > hi all, > i'm newbie in perl.i have face problem how to add function ajax > (onchange) on my file. > Hi salmia! Have you visited http://perl-begin.org/ yet and read a good introductory book or tutorial? Your code has many anti-patterns. > this i

Re: 1-line text file with numbers, need to add to them

2010-02-04 Thread Shlomi Fish
Hi Chris! Have you visited http://perl-begin.org/ yet and read a good introductory book or tutorial? On Thursday 04 Feb 2010 09:27:32 Chris wrote: > I need some help with this problem. > I've got a text file datafile with 1 line of data comprised of 30 > different numbers delimited with ~s. > >

1-line text file with numbers, need to add to them

2010-02-04 Thread Chris
I need some help with this problem. I've got a text file datafile with 1 line of data comprised of 30 different numbers delimited with ~s. I need to open this file, grab this line of data, split it into individual numbers, perform some simple math (addition) on each number, and then put the new va

multiple onchange on 1 cgi file

2010-02-04 Thread salmia
hi all, i'm newbie in perl.i have face problem how to add function ajax (onchange) on my file. this is my code... $ajx_ctrl = $query->param('ajx_ctrl'); $co_id = $query -> param('select_co'); my $exported_fx = sub { my $searchterm = shift; my $sql = qq< select file_na