Skip to content

Commit

Permalink
Rename variable/s to make them more descriptive.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Jan 1, 2025
1 parent 093855e commit 0aa99a8
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions lib/Shlomif/Homepage/GenQuadPresMak.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ use warnings;

use Moo;

use Path::Tiny qw/ path /;
use File::Update qw/ write_on_change /;
use Template ();
use Text::VimColor 0.29 ();
use File::Update qw/ write_on_change /;
use Path::Tiny qw/ path /;
use Template ();
use Text::VimColor 0.29 ();

use Shlomif::Homepage::Presentations ();

my $gen_quadpres_fn = "lib/make/generated/sf-homepage-quadpres-generated.mak";

my $BASENAMES = <<'EOF';
my $WMLECT_EXAMPLES_FNS = <<'EOF';
APIs/grid/index.html.wml
APIs/toc/index.html.wml
bolding/template.wml
Expand All @@ -37,11 +38,11 @@ sub generate
{
my ( $self, $args ) = @_;

foreach my $fn ( split /\n/, $BASENAMES )
foreach my $fn ( split /\n/, $WMLECT_EXAMPLES_FNS )
{
my $ffn = "lib/presentations/qp/Website-Meta-Lecture/src/examples/$fn";
my $dest = path("$ffn.html");
if ( !$dest->exists() )
if ( not $dest->exists() )
{
my $syntax = Text::VimColor->new(
file => $ffn,
Expand Down Expand Up @@ -76,6 +77,3 @@ EOF
}

1;

# __END__
# # Below is stub documentation for your module. You'd better edit it!

0 comments on commit 0aa99a8

Please sign in to comment.