Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to use get($url) to retrieve the contents of a web page, but I need to have a cookie set in order for the request to work. Is there a function similar to get() which allows a cookie to be set in the header of the URL before the call?

Thank you!