+ 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!
12 Respuestas
+ 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/
+ 8
cute enthusiasm
+ 2
awesome, this is perfect thank you!!!
+ 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
+ 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.
+ 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!!!
+ 1
I am confused with emacs, people do lots of things. you can check emails and even games?
+ 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
+ 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
+ 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.
+ 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
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 😊.