Anchoring # in Perl question
Example:
http://www.domain.com/cgi-bin/query.pl?article=2#anchor
Could I do that? It seems it doesn't understand!
Any solutions? Thanks
Example:
http://www.domain.com/cgi-bin/query.pl?article=2#anchor
Could I do that? It seems it doesn't understand!
Any solutions? Thanks
Orpheus posted this at 15:09 — 23rd August 2000.
They have: 568 posts
Joined: Nov 1999
The error is definately because of the query string.
Maybe do something with print "Location: something.html\n\n";
Mark Hensler posted this at 06:32 — 24th August 2000.
He has: 4,048 posts
Joined: Aug 2000
What are you doing? I don't get it.
Are you using a perl script to open other files, and sending the visitor to an anchor on that other page?
maybe you could substitue the # for something else...
in the URL, put: 'pound'
then edit the variable like:
$var =~ s/pound/\#/;
then use:
print "Location: $var\n\n";
Let us know what you find that works.
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.