Next You can't get there from here 48

Hamiltonian Cycle

        $cities = ['Philadelphia', 'Portland', 'Dayton', ...,
                   'Brussels'];

        print $flight{Portland}{Dayton};
        # prints 0
        print $flight{Philadelphia}{Brussels};
        # prints 1
        print $flight{Brussels}{Philadelphia};
        # prints 1

Next Copyright © 2005 M. J. Dominus