khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 31 forks source link

Add $VERSION to Raisin.pm #106

Closed m-dango closed 3 years ago

m-dango commented 3 years ago

&before_finalize uses __PACKAGE__->VERSION.

khrt commented 3 years ago

$VERSION variable is added at the build stage by Dist::Zilla and exists in every package you can find at CPAN, or if you build Raisin using dist build command.

m-dango commented 3 years ago

Ah I see, I was running the module as is, sorry about the confusion!