Skip to content

Commit

Permalink
Replace Readonly with Const::Fast (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dango authored Feb 22, 2024
1 parent 76c79ce commit 052f7e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package BookingUpForBeauty;
use v5.38;

use Time::Piece;
#use Readonly;
#use Const::Fast;

use Exporter ('import');
our @EXPORT_OK = (
Expand All @@ -13,7 +13,7 @@ our @EXPORT_OK = (
);

# Commented for portability
#Readonly::Scalar
#const
my $STRPTIME_FORMAT =#>
'%Y-%m-%d' . 'T' . '%H:%M:%S';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ use v5.38;
#use DateTime::Tiny;

# Recommended, commented out for portability.
#use Readonly;
#use Const::Fast;

use Exporter ('import');
our @EXPORT_OK = ();

my $STRPTIME_FORMAT = '%Y-%m-%d' . 'T' . '%H:%M:%S';
#Readonly::Scalar $STRPTIME_FORMAT => $STRPTIME_FORMAT;
#const $STRPTIME_FORMAT => $STRPTIME_FORMAT;

# Private subroutines conventionally start with an underscore.
# It isn't necessary, but provided for convenience.
Expand Down

0 comments on commit 052f7e5

Please sign in to comment.