Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jan 23, 2024
1 parent 0f7deb1 commit a42f827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Changes
Expand Up @@ -93,7 +93,7 @@ Revision history for Perl module ConfigReader::Simple

0.5 - 1999-02-10
* Changed module name to ConfigReader::Simple to match up with
other modules in CPAN better.
other modules in CPAN better.
* Quote delimiters now have to be matched, ie not 'foo" etc.
* Doesn't get confused by trailing whitespace
* Copes with quote-delimited strings as long as they're all on the
Expand Down
8 changes: 2 additions & 6 deletions eg/config_creator.pl
Expand Up @@ -16,8 +16,6 @@ =head1 DESCRIPTION
=head1 SOURCE AVAILABILITY
=head1 SOURCE AVAILABILITY
The source is in Github:
http://github.com/briandfoy/configreader-simple/
Expand All @@ -37,8 +35,7 @@ =head1 COPYRIGHT

my $config = '';

while( <> )
{
while( <> ) {
next if m/\s*#/;
chomp;
my( $directive, $description ) = split m/\s+/, $_, 2;
Expand All @@ -50,8 +47,7 @@ =head1 COPYRIGHT

print $config;

sub prompt
{
sub prompt maps {
my $message = shift;

print "$message> ";
Expand Down

0 comments on commit a42f827

Please sign in to comment.