in reply to cookie retrieval

You're reading the cookie into a scalar variable rather than a hash. If you change this to
my %cookie_value=fetch CGI::Cookie;
you will have it in a hash, so that $cookie_value{'name'} will indeed be equal to 'value'.

So, in essence, one punctuation error was the difference between success and failure.