EVOL! Posted June 16, 2015 Share Posted June 16, 2015 Anyone here use Perl? If so, what do you create your scripts in? I just downloaded Notepad++ since that one seems to be popular, but I am confused if I need to set anything up to auto format and execute the scripts. Quote Link to comment Share on other sites More sharing options...
Guest Farnsbarns Posted June 16, 2015 Share Posted June 16, 2015 Anyone here use Perl? If so, what do you create your scripts in? I just downloaded Notepad++ since that one seems to be popular, but I am confused if I need to set anything up to auto format and execute the scripts. I use it for wrting PHP/css/html/etc. It won't run code. Won't your perl need compiling to run? Not ofey with perl really. Quote Link to comment Share on other sites More sharing options...
sg50 Posted June 17, 2015 Share Posted June 17, 2015 http://www.sublimetext.com I have no idea how to execute perl scripts on Windows. On *nix systems, it's along the lines of perl file.pl Quote Link to comment Share on other sites More sharing options...
EVOL! Posted June 17, 2015 Author Share Posted June 17, 2015 I use it for wrting PHP/css/html/etc. It won't run code. Won't your perl need compiling to run? Not ofey with perl really. It's a scripting language and it compiles itself as you execute it. Just like batch files you can run it by clicking on the file or from a command prompt (my preferred method). After putting some Perl into Notepad++ I see that it helps format it/auto completes so I am good. It color codes variables, arrays, and hashes. Wonder if I could do xml in Notepad++. That would help a lot since writing xml files is an exercise in torture. Quote Link to comment Share on other sites More sharing options...
EVOL! Posted June 17, 2015 Author Share Posted June 17, 2015 I have no idea how to execute perl scripts on Windows. On *nix systems, it's along the lines of perl file.pl Is this where I apologize for working at a Windows shop? ;) :( As I mentioned above, you can run it by clicking on the file or from a command prompt (my preferred method). Quote Link to comment Share on other sites More sharing options...
Guest Farnsbarns Posted June 17, 2015 Share Posted June 17, 2015 It's a scripting language and it compiles itself as you execute it. Just like batch files you can run it by clicking on the file or from a command prompt (my preferred method). After putting some Perl into Notepad++ I see that it helps format it/auto completes so I am good. It color codes variables, arrays, and hashes. Wonder if I could do xml in Notepad++. That would help a lot since writing xml files is an exercise in torture. The colour coding is automatic, it isn't saved, NP++ just displays it that way. It will work the same for XML (HTML being a form of XML albeit prescribed tags so not extensible as such). Quote Link to comment Share on other sites More sharing options...
Hall Posted June 17, 2015 Share Posted June 17, 2015 I use a ROYAL ...still. steve Quote Link to comment Share on other sites More sharing options...
EVOL! Posted June 17, 2015 Author Share Posted June 17, 2015 The colour coding is automatic, it isn't saved, NP++ just displays it that way. It will work the same for XML (HTML being a form of XML albeit prescribed tags so not extensible as such). Right, but having it color coded and your curly brackets marked helps keep you honest. Perl can be the wild west. Quote Link to comment Share on other sites More sharing options...
Guest Farnsbarns Posted June 17, 2015 Share Posted June 17, 2015 Right, but having it color coded and your curly brackets marked helps keep you honest. Perl can be the wild west. Yeah, it's excellent having the color coding. PHP is a nice tidy language if done well but I used to edit in wordpad and that's a nightmare in comparison. I love the transparent popup boxes as well, you just read straight through them. Yeah, Quote Link to comment Share on other sites More sharing options...
SdStrummer Posted January 14, 2020 Share Posted January 14, 2020 Download VSCode (Windows, MacOS, Linux?) then install a Perl addon such as https://marketplace.visualstudio.com/items?itemName=mortenhenriksen.perl-debug or https://marketplace.visualstudio.com/items?itemName=henriiik.vscode-perl. I'm not sure which one is better since I don't code in Perl, but I do use VSCode for several other languages and it's very useful. That should give you full language support and the ability to compile/run your scripts. Some people swear by text editors like sublime text, but why limit yourself? With a text editor you're not going to be able to run your script (which is kind of the point when you're done) and it won't assist you when you make a mistake. Quote Link to comment Share on other sites More sharing options...
Big Bill Posted January 14, 2020 Share Posted January 14, 2020 Quote Link to comment Share on other sites More sharing options...
Karloff Posted January 14, 2020 Share Posted January 14, 2020 45 minutes ago, Big Bill said: my thoughts exactly. I'll go back to scratching, farting & banging these two rocks together ... 1 Quote Link to comment Share on other sites More sharing options...
Karloff Posted January 14, 2020 Share Posted January 14, 2020 On 6/17/2015 at 5:08 PM, EVOL! said: Right, but having it color coded and your curly brackets marked helps keep you honest. Perl can be the wild west. ahh yes, the elusive curly brackets. she's a good girl ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.