hash hanging up browser

2004-03-22 Thread Teresa Raymond
Hi, The following code is hanging up the browser and I think it has something to do with the hash having keys array and values array. There is no error message, just the browser taking a really long time. Any help would be appreciated. Works fine with 3 line, 12 word 1 kb text file but not with

Re: hash hanging up browser

2004-03-22 Thread Wiggins d Anconia
> Hi, > > The following code is hanging up the browser and I think it has something > to do with the hash having keys array and values array. There is no error > message, just the browser taking a really long time. Any help would be > appreciated. Works fine with 3 line, 12 word 1 kb text file

Re: hash hanging up browser

2004-03-22 Thread WC -Sx- Jones
Teresa Raymond wrote: Your code has logic/implementation design errors; see below - my $file = param('upload'); $file will be equal to "" -- therefore the later test !$file will logically fail when it should have succeeded. IE - $file is NOT undefined; maybe you meant length equal zero? @[EMAIL

Re: Hash Assignment

2004-03-22 Thread Shiping Wang
At 07:42 PM 3/19/2004 -0500, Brad Lhotsky wrote: Where you do this: my @[EMAIL PROTECTED] = @valuesarray; do this: my %hash = (); @[EMAIL PROTECTED] = @valuesarray; and it should work. In this case, perl needs to know its a Hash before you can use the {} to specificy the slice. Thanks, it works.

RE: hash hanging up browser

2004-03-22 Thread Charles K. Clarkson
Teresa Raymond <[EMAIL PROTECTED]> wrote: : : Hi, : : The following code is hanging up the browser and I think : it has something to do with the hash having keys array : and values array. There is no error message, just the : browser taking a really long time. Any help would be : appreciated. Wo

Weekly list FAQ posting

2004-03-22 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 addres

Re: hash hanging up browser

2004-03-22 Thread Teresa Raymond
Bill, Thank you so, so much --> Your corrections/advice/help not only helps me this time but also will help me to code/think more clearly in the future. --Teresa At 10:16 AM 3/22/2004, you wrote: Your code has logic/implementation design errors; see below - snipped HTH/Bill -- _Sx_ http://youv

Re: hash hanging up browser

2004-03-22 Thread WC -Sx- Jones
Teresa Raymond wrote: Bill, Thank you so, so much --> Your corrections/advice/help not only helps me this time but also will help me to code/think more clearly in the future. --Teresa Great :) -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _ perldoc -qa.a | perl -lpe '($_)=m("(.*)")

How to add an item into Shopping cart

2004-03-22 Thread B. Fongo
I'm working on a shopping cart, and yet to implement Apache::Session. But before then, I have a question on how to populate a shopping cart without the page reloading. Is there a way of achieving this using perl? I believe it is possible to use JavaScript event-handler can be to keep track of it