in reply to Is $# still used?

I couldn't find the variable $# in the hanoi example in chapter one of HOP. Are you referring to the check-move routine that uses the "last-index" notation $#position?

-- Douglas Hunter

Replies are listed 'Best First'.
Re^2: Is $# still used?
by ghenry (Vicar) on Jun 11, 2005 at 17:20 UTC

    Yes.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!