Skip to content

Commit

Permalink
fix bug: incorrect check for scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-lee committed Oct 6, 2011
1 parent a4b0be3 commit 3b6f0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cluster/Facts.pm
Expand Up @@ -325,7 +325,7 @@ sub expand_node_groups {
unless $def = $groups->{$name};

$def = [$def]
if ref $def eq 'SCALAR';
if ref \$def eq 'SCALAR';

croak "group '$name' is not a scalar or a list, cannot expand it\n"
unless ref $def eq 'ARRAY';
Expand Down

0 comments on commit 3b6f0c0

Please sign in to comment.