-
Notifications
You must be signed in to change notification settings - Fork 216
Release 0.21
perlbrew 0.21 features these major changes:
- Improved
perlbrew list
command. - Improved
install
command. Now takes an archive file pathperlbrew install /path/to/perl-5.14.0.tar.gz
- Fixed a bug that
perlbrew install URL
might install to a wrong destination directory. - Fixed the
--as
option that was broken since 0.20 (RT 68241) - website update mechanism
The output of perlbrew list
is slightly improved. A version number is displayed for those installations which cannot be told the version numbers from their names. For example:
> perlbrew list
* perl-5.12.3
perl-5.13.10
perl-5.14.0-RC2
perl-blead (5.14.0)
perl-v5.14.0-RC1-8-g2cf7ccf
/usr/bin/perl (5.10.0)
The version number is acquired from perl -e 'print $]'
, therefore it does not contain any RC number or git commit sha1.
For those who are interested in publishing contents to http://perlbrew.pl, the website is basically semi-automatic synchronized with perlbrew github wiki. One should be able to just edit the wiki content and wait momentarily for the update. Several points to be noticed:
- Make sure you use "markdown" syntax. Other formats are not supported.
- If you use git access, the file name extension has to be
.md
. - Page can be linked by their names, just put them in double square brackets, for example:
[[Home]]
, or[[Release-0.21]]
. - Github flavored markdown has no effect -- the render-er is Text::Markdown.
To preview it on your own, do the following:
echo Text::Markdown Text::Xslate IO::All | cpanm
git clone git://github.com/gugod/www.perlbrew.pl.git
cd www.perlbrew.pl
make
open public/YOUR-PAGE-NAME.html
The command make
should pull the latest wiki content and start generating HTML files from there. HTML files are generated under public/
with matching file names, except the .md
extension is replaced with .html
. For example, these two are matching pages:
- https://github.com/gugod/App-perlbrew/wiki/Reinstall-All-Modules-On-New-Perl
- http://www.perlbrew.pl/Reinstall-All-Modules-On-New-Perl.html
Notice the homepage is named index.md
but not Home.md
, which is the landing page for Github wiki.