Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: New-to-Perl: recommendations for windows setup?

by Discipulus (Canon)
on Feb 16, 2021 at 12:16 UTC ( [id://11128437]=note: print w/replies, xml ) Need Help??


in reply to New-to-Perl: recommendations for windows setup?

Welcome to hell bliako :)

> I can exclude from the beginning, methods involving cmd.exe ..

I dont. I always go with strawberry perl portable edition.

Strawberry portable ships with portableshell.bat which permit you to forget PATH because it prepends itself to everything (this setting is not OS wide: it is valid only for this prompt instance):

---------------------------------------------- Welcome to Strawberry Perl Portable Edition! * URL - http://www.strawberryperl.com/ * see README.TXT for more info ---------------------------------------------- Perl executable: C:\perl5.32.64bit\perl\bin\perl.exe Perl version : 5.32.0 / MSWin32-x64-multi-thread C:\perl5.32.64bit> path PATH=C:\perl5.32.64bit\perl\site\bin; C:\perl5.32.64bit\perl\bin; C:\perl5.32.64bit\c\bin; C:\WINDOWS\system32; C:\WINDOWS; ....

I use also unxutils or gnuwin32 and yes they are both really old, but they used to work. I modify portableshell.bat to include them after strawberry.

Or you can use cygwin or bash for window or .. good luck :)

Once upon a time there was padre perlide but I fear is no more maintained.

Activestate has KomodoIDE available for free (only mail subscrition needed).

Personally I use Notepad++ and the above portableshell.bat

I always avoid file association: I tell the OS all perl files are text documents and I open them with Notepad++ then in my commandline I always use: perl myscript.pl syntax.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: New-to-Perl: recommendations for windows setup?
by kaldor (Beadle) on Feb 17, 2021 at 16:06 UTC

    I also use Strawberry Perl Portable Edition, on servers and laptops (enterprise-locked).

    Installing CPAN modules works fine with portableshell.bat and you don't need it to execute a Perl script : just use the full path to perl.exe. That's how I call Perl scripts from a batch file.

    It's possible to run a Perl script from Notepad++ (stdout only), see https://amazingperl.blogspot.com/2013/01/use-notepad-as-perl-ide.html

Re^2: New-to-Perl: recommendations for windows setup?
by bliako (Monsignor) on Feb 16, 2021 at 20:12 UTC

    Thanks for the pointer, so I know that I can rely on the terminal.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128437]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-29 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found