in reply to Anchor Tag and Perl

If you want a # sign in a CGI parameter value, you have to escape it.

If you want a # sign in the path, you have to escape it.

If you expect the stuff after a # sign to be available to your script, that's not how URLs work.

Replies are listed 'Best First'.
Re^2: Anchor Tag and Perl
by frieduck (Hermit) on Feb 14, 2009 at 14:37 UTC

    This article on Fragment identifiers may help explain why it's not doing what the OP wants.

    The fragment identifier functions differently than the rest of the URI: namely, its processing is exclusively client-side with no participation from the server. When an agent (such as a Web browser) requests a resource from a Web server, the agent sends the URI to the server, but does not send the fragment. Instead, the agent waits for the server to send the resource, and then the agent processes the resource according to the fragment value. In the most common case, the agent scrolls a Web page down to the anchor element which has an attribute string equal to the fragment value.