cgiemail - formquestion

2004-11-01 Thread patricia gnecco
I made a form that is working... Now the client wants the form to self-update the content of the fields as the user fills out the form. For example, if they pick 2 t-shirts in a certain field (that cost 10 each), then in the subtotals field for t-shirts, it already shows up the value for 2

Re: cgiemail - formquestion

2004-11-01 Thread Chasecreek Systemhouse
On Sun, 31 Oct 2004 16:30:39 -0800 (PST), patricia gnecco [EMAIL PROTECTED] wrote: I made a form that is working... Now the client wants the form to self-update the content of the fields as the user fills out the form. For example, if they pick 2 t-shirts in a certain field (that cost 10

Re: cgiemail - formquestion

2004-11-01 Thread David Dorward
On Mon, Nov 01, 2004 at 04:59:35AM -0500, Chasecreek Systemhouse wrote: I made a form that is working... Now the client wants the form to self-update the content of the fields as the user fills out the form. For example, if they pick I would choose DHTML or JavaScript - which are things

perl.beginners.cgi Weekly list FAQ posting

2004-11-01 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to [EMAIL PROTECTED] You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email

More examples on Net::NNTP

2004-11-01 Thread Nick Yip
Hi! Can anyone give me more examples using Net::NNTP ?? I don't quite understand the CPAN manual. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

how to benchmark connection

2004-11-01 Thread Ing. Branislav Gerzo
Hi all, anoyone could me show the start point for measuring response time of some server on some port ? I don't want ICMP ping. I'd like to know time, when server send, that connection was succesful. Thanks. -=x=- Skontrolované antivírovým programom NOD32 -- To unsubscribe, e-mail: [EMAIL

Multi Line text processing

2004-11-01 Thread Anish Kumar K.
Hi I am new to perl text processing... I want to replace a text from a file say a.txt. a.txt contains line1: this is line 2: a line 3: apple I wanted to replace to this is an orange.. When I see perl change.pl FILENAME it shld change all the occurence of this is a apple to this is an

Re: Multi Line text processing

2004-11-01 Thread Gunnar Hjalmarsson
Anish Kumar K. wrote: I want to replace a text from a file say a.txt. a.txt contains line1: this is line 2: a line 3: apple I wanted to replace to this is an orange.. When I see perl change.pl FILENAME it shld change all the occurence of this is a apple to this is an orange. Not that this

Re: pattern matching

2004-11-01 Thread Robert Citek
On Sunday, Oct 31, 2004, at 21:11 US/Central, John W. Krahn wrote: Robert Citek wrote: On Saturday, Oct 30, 2004, at 20:52 US/Central, John W. Krahn wrote: [EMAIL PROTECTED] wrote: I have to match patterns of the format string1string2 where the strings 1 2 can contain alphabets,numbers and

Re: Why is not sub necessary? What is the difference: block and expression?

2004-11-01 Thread John W. Krahn
David le Blanc wrote: Roughly speaking (ie, without referring to the bible), a block is one or more expressions enclosed in curly braces; 1/3is an expression. Result is roughly 0.333 { $a=$b; $name=James; 1+3 } is a block of three expressions, resulting in the assignment of two

perl.beginners Weekly list FAQ posting

2004-11-01 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to [EMAIL PROTECTED] You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Re: Multi Line text processing

2004-11-01 Thread Ajey Kulkarni
my $txt = do { local $/; FILE }; Just on a side note, has any1 tried to get the MAX FILE SIZE that can be slurped into a scalar variable? Is there any limit? Where can i get such info?? Regards ~A On Mon, 1 Nov 2004, Gunnar Hjalmarsson wrote: Anish Kumar K. wrote: I want to replace a text

Re: Multi Line text processing

2004-11-01 Thread Octavian Rasnita
The answer is the entire memory of your computer. Teddy - Original Message - From: Ajey Kulkarni [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 01, 2004 9:27 PM Subject: Re: Multi Line text processing my $txt = do { local $/; FILE }; Just on a side note, has any1

Re: Multi Line text processing

2004-11-01 Thread Wiggins d Anconia
Or 2GB (or another arbitrary limit set by the OS). Many computers, specifically those that are 32 bit, may have a limit, and/or your version of 'perl' may be compiled without large file support, in which case you may be capped below the size of memory (not to mention swap). Especially with the

Re: Multi Line text processing

2004-11-01 Thread Chasecreek Systemhouse
On Mon, 1 Nov 2004 21:51:45 +0200, Octavian Rasnita [EMAIL PROTECTED] wrote: The answer is the entire memory of your computer. Which can slow your system down unless you got googles and googles, erm I mean Oodles. LOL. anyways, Split them files up first:

Re: Append on top

2004-11-01 Thread Chasecreek Systemhouse
On Sun, 31 Oct 2004 22:04:33 +0100, Jenda Krynicky [EMAIL PROTECTED] wrote: Something like that. 1024 is one K. So 8*1024 is 8KB. I don't know what the size of a block is when reading from the particular disk storing that file, but the block size is usualy some power of 2 in KB. 2KB, 4KB,

Windows - Unix communication using perl

2004-11-01 Thread Ajey Kulkarni
Howdy, this is more descriptive qn than a programming. I want to try first before i get some errs/doubts. I would like to do something like rexec/rsh from a windows (client) to Unix machine. What is the best way to approach this problem? IO::Socket ,may not be of help coz that requires server to

Re: Windows - Unix communication using perl

2004-11-01 Thread Chasecreek Systemhouse
On Mon, 1 Nov 2004 14:00:37 -0800 (PST), Ajey Kulkarni [EMAIL PROTECTED] wrote: I would like to do something like rexec/rsh from a windows (client) to Unix machine. What is the best way to approach this problem? IO::Socket ,may not be of help coz that requires server to be running. Here i

Re: Windows - Unix communication using perl

2004-11-01 Thread Ajey Kulkarni
i feel net::rexec module should help me out. Thanks. ~A On Mon, 1 Nov 2004, Chasecreek Systemhouse wrote: On Mon, 1 Nov 2004 14:00:37 -0800 (PST), Ajey Kulkarni [EMAIL PROTECTED] wrote: I would like to do something like rexec/rsh from a windows (client) to Unix machine. What is the best

Re: Windows - Unix communication using perl

2004-11-01 Thread Chasecreek Systemhouse
On Mon, 1 Nov 2004 15:23:32 -0800 (PST), Ajey Kulkarni [EMAIL PROTECTED] wrote: i feel net::rexec module should help me out. Usng .netrc is OK; so long as you use it on a private non-routing network and not over the public Internet. =) SSH tunnels may prove more secure; but now I am off list

Monitoring a mount through a ssh tunnel

2004-11-01 Thread Gavin Henry
Dear all, I hope everyone has been busy ;-) Got another wee program that I would like to try and write. Problem: We have a ssh tunnel with a samba mount across it from one city to the other, if one city is unreachable, the tunnel needs to be brought back up and the mount remounted.

Re: Append on top

2004-11-01 Thread Jenda Krynicky
From: Chasecreek Systemhouse [EMAIL PROTECTED] On Sun, 31 Oct 2004 22:04:33 +0100, Jenda Krynicky [EMAIL PROTECTED] wrote: Something like that. 1024 is one K. So 8*1024 is 8KB. I don't know what the size of a block is when reading from the particular disk storing that file, but the

Re: Sending a compressed html

2004-11-01 Thread Chris Devers
On Sun, 31 Oct 2004, Octavian Rasnita wrote: Please tell me how can I compress the html with gzip and send it to the clients' browsers in order to be transfered faster. The Apache web server can do this with the mod_gzip module. If you're using a different server, you'll have to do it at the

Re: Append on top

2004-11-01 Thread Chasecreek Systemhouse
On Tue, 02 Nov 2004 01:10:40 +0100, Jenda Krynicky [EMAIL PROTECTED] wrote: It seems though that the constant doesn't matter much. I've tried to copy a 709MB file using a tiny script that looked like this: ... and it took 171s with 8*1024 and 176 with 5000 and 32*1024 byte chunks. OTOH

Re: Extracting Directories and Sub Directories and Counting

2004-11-01 Thread Ron Smith
Hey Gunnar, and list, ---snip print \n; my %HoA; for ( `dir /b/s` ) { push @{ $HoA{$1} }, $2 if /(.+)\\(\w+)\.\d+\.\w+$/; } for my $dir ( sort keys %HoA ) { print join ( \n, $dir ), \n\n; my @basenames = @{ $HoA{$dir}