http://www.perlmonks.org?node_id=1028874

Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:

This is probably pretty simple, but I can't figure it out.

Say a website redirects me to example.com#foobar -- how do I get the #foobar part of the URI from the $mech object?