From: Gajo Csaba <[EMAIL PROTECTED]>
> I'm trying to write a simple Hanoi tower program. Here is
> the procedure I've wrote (with line numbers):
>
> # hanoj (src,hlp,tgt,num)
> # src,tgt,hlp,n-1 src,hlp,tgt,1 hlp,src,tgt,n-1
>
> 3: sub hanoj
> 4: {
> 5: if ($_[3] <= 1)
> 6: {
> 7:pri
Hi,
I'm trying to write a simple Hanoi tower program. Here is
the procedure I've wrote (with line numbers):
# hanoj (src,hlp,tgt,num)
# src,tgt,hlp,n-1 src,hlp,tgt,1 hlp,src,tgt,n-1
3: sub hanoj
4: {
5: if ($_[3] <= 1)
6: {
7:print "From $_[0] we put on $_[2] with the help of $_
[1]