Skip to content

Instantly share code, notes, and snippets.

@spiros
spiros / TestMojoCookies
Created September 3, 2012 12:54
Test::Mojo methods for cookie checking
=head2 has_cookie
Returns 1 if cookie is found irrespective of value.
$rv = $t->has_cookie( $name, $url );
=cut
sub has_cookie{
my $self = shift;