Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Applied "exists" hash from Steffen M�ller.
  • Loading branch information
davorg committed Jul 28, 2002
1 parent ee814ba commit 63bd297
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Regex.pm
Expand Up @@ -15,6 +15,9 @@
# $Id$
#
# $Log$
# Revision 0.8 2002/07/28 20:31:28 dave
# Applied "exists" hash from Steffen Müller.
#
# Revision 0.7 2002/07/12 18:37:09 dave
# Corrected Attribute::Handler dependencies
#
Expand Down Expand Up @@ -83,7 +86,7 @@ sub EXISTS {

$key = qr/$key/ unless $is_re;

/$key/ && return 1 for keys %$key;
/$key/ && return 1 for keys %$self;

return;
}
Expand Down

0 comments on commit 63bd297

Please sign in to comment.