Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install and use ack library on Windows?

Tags:

windows

perl

ack

I have never used Perl, but I am really impressed by the ack, which I would like to use for source code searching, etc.

Can anyone guide me of how to make use of this excellent library on Windows?

like image 805
rajesh pillai Avatar asked Jun 21 '09 11:06

rajesh pillai


2 Answers

Start by installing perl http://strawberryperl.com/

Install App::Ack by typing (in a windows command shell)

C:\>cpan App::Ack 

And undoubtedly this will prove useful http://learn.perl.org/

like image 50
Nifle Avatar answered Sep 28 '22 10:09

Nifle


Not all the tests pass on all versions of Windows. You can most likely get 100% functionality from ack even if the install tests fail. Here is the command to force installation if failing tests prevent a normal install:

perl -MCPAN -e "CPAN::Shell->force(qw(install App::Ack));" 
like image 36
Robert Wahler Avatar answered Sep 28 '22 09:09

Robert Wahler