add Term::ANSIColor, perldelta notes on Pod::Man, and fix a bug
[p5sagit/p5-mst-13.2.git] / lib / Pod / InputObjects.pm
index 2f89cb9..9029f8c 100644 (file)
@@ -522,7 +522,7 @@ sub _set_child2parent_links {
    my ($self, @children) = @_;
    ## Make sure any sequences know who their parent is
    for (@children) {
-      next unless (ref || ref eq 'SCALAR');
+      next if (!ref || ref eq 'SCALAR');
       if ($_->isa('Pod::InteriorSequence') or $_->can('nested')) {
           $_->nested($self);
       }