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
> 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
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
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.
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
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
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
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("(.*)")
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