Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jan 28, 2024
1 parent b801db2 commit b941ca4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/extract_modules
Expand Up @@ -21,7 +21,7 @@ our $VERSION = '1.10';
Use: extract_modules filename [...]
Given Perl files, extract and report the Perl modules included
Given Perl files, extract and report the Perl modules included
with C<use> or C<require>.
=head1 DESCRIPTION
Expand All @@ -46,12 +46,12 @@ my %methods = qw(
Module::Extract::Use get_modules
Module::ExtractUse extract_use
);

foreach my $module ( @classes ) {
eval "require $module";
next if $@;
( $object, $method ) = ( $module->new, $methods{$module} );
}
}

die "No usable file scanner module found; exiting...\n" unless defined $object;

Expand All @@ -64,7 +64,7 @@ foreach my $file ( @ARGV ) {

dump_list( $file, sort $object->$method( $file ) );
}


BEGIN {
my $corelist = eval { require Module::CoreList };
Expand Down

0 comments on commit b941ca4

Please sign in to comment.