$ /usr/bin/perl -v
This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-cygwin-threads-multi
(with 7 registered patches, see perl -V for more detail)
####
\curl -L https://install.perlbrew.pl | bash
perlbrew install perl-5.30.0
perlbrew switch perl-5.30.0
####
$ perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for cygwin-thread-multi