Subject: | perlbrew exec don't have --quiet option |
perlbrew exec show headers for each --with:
-----------------------------------------------------
$ perlbrew exec --with perl-5.16.0 "perl -v"
perl-5.16.0
==========
This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux
...
-----------------------------------------------------
And --quiet don't work if you want to remove these headers.
This patch solve the problem (App/perlbrew.pm v0.43):
-----------------------------------------------------
1724d1723
< 'quiet|q!',
1742c1741
< print "$i->{name}\n==========\n" unless $opts{quiet};
---
Show quoted text
> print "$i->{name}\n==========\n";
1744c1743
< print "\n\n" unless $opts{quiet};
---
Show quoted text> print "\n\n";
-----------------------------------------------------
Now, this work:
perlbrew exec --quiet --with perl-5.16.0 "perl -v" or
perlbrew exec --with perl-5.16.0 --quiet "perl -v"