RE: quick sort --help me

2002-02-03 Thread Andrea Holstein
In article <2E4528861499D41199D200A0C9B15BC031B7E8@FRISTX> wrote "Bob Showalter" <[EMAIL PROTECTED]>: > Note that the assignment is seen as a term in the list supplied to print, so it will >be executed > *before* the prompt is printed. To make the comma into a sequence operator, you >need to ad

RE: quick sort --help me

2002-02-02 Thread Bob Showalter
> -Original Message- > From: Andrea Holstein [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 02, 2002 6:14 AM > To: [EMAIL PROTECTED] > Subject: Re: quick sort --help me > > ... > Perlish: print "Enter the $_ number", $a[$_-1] = for (1 .. 4); Not

Re: quick sort --help me

2002-02-02 Thread Andrea Holstein
In article <[EMAIL PROTECTED]> wrote "Sanilkumar" <[EMAIL PROTECTED]>: > this program is not working please help me Sorry, I couldn't find the error instantly. But perhaps I can help you to improve your programming style. 1. Give your variables names that explain themselves. Readability co

quick sort --help me

2002-02-01 Thread sanilkumar
this program is not working please help me for(my $i=0;$i<3;$i++) { my $r=$i+1; print("Enter the $r number"); local$a[$i]=; } $first=0; $last=2; quicksort(\@a,$first,$last); system(clear); print("\t@a"); sub quicksort(\@$$) { my($num,$fi,$la)=@_; print("