+ 7

perl scripting...?

so i was watching social network AGAIN!! I noticed when he was making face mash, he said "now i just need to modify that Perl script"... I started investigating in Perl , I was just wondering how I get started? Do I need a specific IDE? Or can I use the one I program with? I really want to start writing Perl scripts!! Someone help to get me started... Also if it helps, My OS is Ubuntu 18.04!

9th Aug 2018, 2:51 AM
David CHAMPION
David CHAMPION - avatar
12 Respostas
+ 8
Hello there! You need a couple of things to get started. If you're using Unix like OS, then Perl is usually pre-installed. To check if it is, go to your terminal and type perl -v If it is not, go to this link https://www.activestate.com/activeperl/downloads Next you need a text editor for writing code. Atom and Sublime Text are pretty good code editors for almost any language. Now for executing your Perl code, please have a look into this link https://learn.perl.org/first_steps/
9th Aug 2018, 4:12 AM
Vedant Bang
Vedant Bang - avatar
+ 8
cute enthusiasm
9th Aug 2018, 10:48 AM
Ahri Fox
Ahri Fox - avatar
+ 2
awesome, this is perfect thank you!!!
9th Aug 2018, 6:39 AM
David CHAMPION
David CHAMPION - avatar
+ 2
Any text editor plus perldoc is good for learning. Like perldoc perl in command line. There is Perl IDE specially focusing on perl, written in perl. http://padre.perlide.org
10th Aug 2018, 8:13 PM
\‱/
\‱/ - avatar
+ 1
There is a good/useful book "Perl by Examples" by Ellie Quigley. In this book you will find many examples of perl. I own fourth edition of this book.
10th Aug 2018, 9:24 AM
Hamidjon Imomov
Hamidjon Imomov - avatar
+ 1
when I was at USC-ISI we worked on the communicate system for NASA's cluster sattelite system we user PERL for the code. in the nineties perl code was the glue that held the internet together. each perl variable could hold all five or so majior data types. the funny charter that you prefixed the variable name with deterned what type of data you accessed. IE: $ for scaler data, @ for arrays, and % for hashs. its error handling was handled by eval(). you also access to all the unix system calls like fork and kill. as to getting started all you need is emacs and a shell. IDEs are helpful. emacs is an incredable text editor thats almast a perl IDE. note a good refernces book is a real help!!!
6th Aug 2019, 2:50 AM
Rick Shiffman
Rick Shiffman - avatar
+ 1
I am confused with emacs, people do lots of things. you can check emails and even games?
6th Aug 2019, 11:10 PM
\‱/
\‱/ - avatar
+ 1
EMACS started out as a set of macros in MIT Teco written by Richard Stollman. he was at MIT-AI. emacs stood for editor macros. Later it was rewritten in Maclisp and made standalone. The earlist TECO version must've been written in the late 1960s Or early 1970s
10th Aug 2019, 5:51 PM
Rick Shiffman
Rick Shiffman - avatar
+ 1
I maintain the MIT teco at USC information sciences institute. that allowed us to run Emacs on our PDP 10s And wrote terminal drivers for HP 2648 graphics terminals, allowing emacs to run on the hp 2648s. this last until the PDP-10s were replaced with Vaxes and Sun workstations. Then Emacs was replaced with a MacLisp version that's stand alone
10th Aug 2019, 9:48 PM
Rick Shiffman
Rick Shiffman - avatar
+ 1
Rick Shiffman teco fundamentally was the first markup language, wasn't it Rick? I used to format school reports in teco on our home PDP-11.
10th Aug 2019, 11:08 PM
Brian
Brian - avatar
+ 1
Yes Brian , but Dec Teco was very limited in what it could do, by the way teco stud for text editer, and corrector. before teco there were only line editor where you had to delete a line and retype it. Mit-Teco had basic screen editting biult in which made emacs possible. you could not do this with Dec teco
11th Aug 2019, 6:46 AM
Rick Shiffman
Rick Shiffman - avatar
0
perl is a old programming language , i advice you to learn python its very useful and easy to understand . i hope you become a good coder in the future 😊.
14th Sep 2018, 8:31 PM
Ahmed Amine Doudech
Ahmed Amine Doudech - avatar