Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

PerlPowerTools, Windows and ActivePerl

by LanX (Saint)
on Aug 22, 2018 at 21:09 UTC ( [id://1220870]=perlquestion: print w/replies, xml ) Need Help??

LanX has asked for the wisdom of the Perl Monks concerning the following question:

Hi

does any one here have experience running Brian's PerlPowerTools under Windows?

I'd be interested to know if at least find , grep and diff work like expected and can be used as drop in replacement.

I also have problems finding this distribution in Activestate's PPM and am struggling with a messed up Perl installation, would be nice to know if the struggle pays off at the end.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re: PerlPowerTools, Windows and ActivePerl
by VinsWorldcom (Prior) on Aug 23, 2018 at 01:35 UTC

    I just use Git for Windows and put it in my path. It has all the *nix utilities native to Windows .exe files you want including Git and GnuPG, ssh, etc without having to install Cygwin. It even has a Perl version but I use Strawberry Perl and it doesn't interfere.

      Thanks, that's a very good idea, which could solve my emacs issues.

      But a pure Perl solution might be interesting too. (like embedded in the debugger for an interactive shell experience)

      update

      unfortunately not that easy

      • using grep fails because option --exclude is missing
      • using diff fails with permission denied problems

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Not sure why diff fails for you - works for me; as does grep:

        VinsWorldcom@C:\Users\VinsWorldcom> grep --help | grep exclude --exclude=PATTERN files that match PATTERN will be skipped. --exclude-from=FILE files that match PATTERN in FILE will be s +kipped. VinsWorldcom@C:\Users\VinsWorldcom> grep --exclude grep: option `--exclude' requires an argument Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1220870]
Approved by marto
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-03-28 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found