Opened 16 years ago
Closed 16 years ago
#2212 closed enhancement (fixed)
Perl missing from version-check.sh
Reported by: | Matthew Burgess | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0 |
Component: | Book | Version: | SVN |
Severity: | trivial | Keywords: | |
Cc: |
Description
Fairly trivial, but Perl is mentioned as a host pre-req, but is not checked for in version-check.sh (preface/iv). The following works for me, although I don't know how portable it is across distros/Perl versions:
echo -n "Perl: "; perl --version | head -2 | tail -1 | awk '{print $4}';
Note:
See TracTickets
for help on using tickets.
This is sort of the more perl-y way to do it:
Or even just
perl -V:version
.