$line = "$1 $s";
# Call self recursively to really do the command.
- cmd_l( 'l', $s );
+ return cmd_l( 'l', $s );
} ## end if ($line =~ /^(\$.*)/s)
# l name. Try to find a sub by that name.
# Call self recursively to list the range.
$line = $subrange;
- cmd_l( 'l', $subrange );
+ return cmd_l( 'l', $subrange );
} ## end if ($subrange)
# Couldn't find it.
else {
print {$OUT} "Subroutine $subname not found.\n";
+ return;
}
} ## end elsif ($line =~ /^([\':A-Za-z_][\':\w]*(\[.*\])?)/s)
$line = $start . '-' . ( $start + $incr );
# Recurse to do it.
- cmd_l( 'l', $line );
+ return cmd_l( 'l', $line );
}
# l [start]+number_of_lines
# Create a line range we'll understand, and recurse to do it.
$line = $start . '-' . ( $start + $incr );
- cmd_l( 'l', $line );
+ return cmd_l( 'l', $line );
} ## end elsif ($line =~ /^(\d*)\+(\d*)$/)
# l start-stop or l start,stop
# command is desired. Don't let it run off the end.
$start = $i;
_minify_to_max(\$start);
+
+ return;
} ## end elsif ($line =~ /^((-?[\d\$\.]+)([-,]([\d\$\.]+))?)?/)
} ## end sub cmd_l