in reply to Test Question - Does it make sense?

Well, the question, IMHO, is badly written - I imagine a lot of people would be trying to wrap their mind about embeding some kind of perl code into the page or whatnot.

What the question is asking (again IMHO) is for a routine that will get a series of destinations, remember which ones it has already seen, and return an appropriate value based on that.

  • Comment on Re: Test Question - Does it make sense?

Replies are listed 'Best First'.
Re: Re: Test Question - Does it make sense?
by aquarium (Curate) on May 09, 2004 at 08:39 UTC
    the most important part of the question (that relates to variable type in perl) is "...associated problem is ensuring that jump destinations or anchors are unique..." There's only one variable type that guarantees non-repeated html targets ---->>>> hash....i.e. html targets become hash keys. you do the rest of your homework...not going to give you code....learn something, by doing it.
      Thanks for the hint aquarium - just enough to get me on the right track, cheers.
      A reply falls below the community's threshold of quality. You may see it by logging in.
      That's not a hint, that's an answer.
Re: Re: Test Question - Does it make sense?
by TilRMan (Friar) on May 10, 2004 at 06:33 UTC

    At first I thought, "What does broken link detection have to do with uniqueness of destinations?" The answer: nothing. Just a typical homework question from a rambling professor.

    I reread the question, eliminating the first two useless sentences. Then it hit me: the answer was there the whole time:

    An associated problem is ensuring that jump destinations or anchors are unique....