Sponsored Content
Top Forums Programming To Perl or not to Perl, that is the question... ;o) Post 303040270 by DracoSentien on Friday 25th of October 2019 08:45:18 PM
Old 10-25-2019
Quote:
Originally Posted by Neo
Anyone who is a “decent”¯ programmer learns and in multiple programming languages.

And ....

Anyone who is a “decent”¯ programmer continually learns multiple new programming languages as time passes and technology changes.
Yeah, however --C, LISP and Perl are not fads and even though tech changes rapidly there are some tech like C programming that is a mainstay. I would say a hacker needs a good understanding of C/C++,Python, Perl, Java and LISP. For hackers, learning Perl is good practically as it is the language used on many active web pages. Even though a hacker might not use any Perl code it is important to know how it should be read. And just to clarify I could be talking about grey hat and white hat hackers here just so I don't get banned.

However, that latter point is tricky as Python has clearer to read syntax. Perl leaves more room for artistic programming expression and 'there are many ways to skin a cat' which can make it difficult to read. Perl is basically like sed/awk but on steroids that is what makes it so good for tools like libwhisker/nikto for parsing through port 80 web insecurities.

Quote:
Originally Posted by neo
As I said, I used to program extensively in PERL, twenty years ago but not now. Seems my use of PERL in day-to-day operations almost exactly follows the "Google Trends" curve, below:

Others are always free to do as they please, obviously; and for those who want to learn PERL, please do!

I used to love PERL for sure. As for me, I am definitely not into “tech nostalgia”¯ (that's just me); but then I do not collect stamps or old cars; but that is just me Smilie I am more of a “zen programmer”¯ and toss out unused tech in favor of the new. But as I said, that is only me. Others are obviously free to do as they like, of course; and that is how it should be.

I would not describe other's ideas and opinions here about "personal likes and dislikes regarding programming languages" at unix.com as “nauseating”¯ as MadeInGermany just did. Everyone is entitled to use any programming language they like and it is normal for most humans to have passion about things they like and dislike.

When someone asks for an opinion then everyone, rookies to "experts" are free to chime in as long as they follow the long standing forum rules. Here they are (again) as a reminder:
I see you used google chart statistics and while obviously dramatic I'm sorry to say they are not as authorative as the Tiobe index.

Perl is still hanging on within the top 20 most popular programming languages which is pretty impressive given how long it has been around. LISP is not even on the list but I would learn it before some of the more fly-by-night trendy programming languages on there as it helps you think differently as a hacker. LISP is a challenging language to learn and requires more from the hacker with each interaction. For a hacker this is excellent news because it means that a continuous effort is being placed on their developing skill. The advantage of using LISP is that it has one result, it will make you a better hacker in the long run even though you it is unlikely to be used regulary. If you don't believe me about LISP read the book The Structure and Interpretation of Computer Programs it is a computer science textbook by Massachusetts Institute of Technology (MIT) professors Harold Abelson and Gerald Jay Sussman with Julie Sussman.

It will still make you a grand master computer programmer today even though written in 1985 and updated in 1996. You know people still read K&R The Programming Language and use C programming too don't you know ?

P.S. Sorry, for going off topic with LISP but this guy already dived in head deep with making an Oscillograph with PERL so I decided to make this post for other readers who are interested in cybersecurity and also make the moral of the story that trendy new shiny languages are not always better although I am not denigrating Python here.
This User Gave Thanks to DracoSentien For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PERL Question

Can anyone tell me if the copy command in PERL has the same functionality as in KSH shell in UNIX or does it actually move the file ?? $cp_stat=system("cp $ENV{OLAMEBSDIR}/data/olam.ddabal$type $ENV{OLAMDIR}/balance/data/olam.ddabal$type.$HeaderDate"); (1 Reply)
Discussion started by: frank
1 Replies

2. Shell Programming and Scripting

PERL question

Could someone tell me what is wrong with these PERL statements it is always setting the $status2 to the number inside of the brackets......why???????? if (/^Status:/) { $stat = $Fld; print "\$stat is $stat\n"; } the above is where i'm searching for a string... (1 Reply)
Discussion started by: frank
1 Replies

3. Shell Programming and Scripting

Question about Perl

Where can i find solid information about programming in Perl? Thank you in advance!!!:) (5 Replies)
Discussion started by: SolidSnake
5 Replies

4. Shell Programming and Scripting

Perl: tk question

When i run my perl/tk script, a perl window pops up behind the GUI window,, can this be hidden???? Also, can the Icon be changed, the Tk icon in every window??? (1 Reply)
Discussion started by: perleo
1 Replies

5. Shell Programming and Scripting

perl question

If I use 2 system commands in a script, will one finish before the next one starts? or will it start the first and the second at the same time? i.e. system("ps | grep rminer"); system("ls -al | grep 431"); (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. Shell Programming and Scripting

Perl Question

Hi everyone I am not even a novice at Perl scripting .. but had to edit one the other day. The only way I can get it to run is by prefixing 'perl' before running it - ie # perl scriptname I am running AIX. Any ideas why i have to do that ? Thanks! (2 Replies)
Discussion started by: serm
2 Replies

7. Shell Programming and Scripting

PERL I/O question

Playing with an until loop as follows: my $input; until ($input eq "quit") { print "Please enter something:"; $input = <STDIN>; chomp $input; if ($input eq "dog") { print "cat" ; } else { print "Please re-enter"; } } Something simple like this... I want to prompt the user to... (3 Replies)
Discussion started by: yesokay
3 Replies

8. Shell Programming and Scripting

Perl question!

Hi All, I am new to perl and just want to read the text file and write back it into another file with some modification. Here is my requirement: input file: USB_OTG_PATH top.usb_top.otg_top USB_HSIC_PATH top.usb_top.hsic_top .. (All starts with USB_) ... START_PATH USB_OTG_PATH.interrupt... (2 Replies)
Discussion started by: surisingh
2 Replies

9. Shell Programming and Scripting

Perl question

Hi All, I am new to Perl and got a real stupid question. We are trying to install the Date:Calc package for some calculations with dates.The security guys mentioned they won't install it as root in /usr/bin/perl but have asked us to install it in any directory and use it from there. Here's the... (2 Replies)
Discussion started by: nua7
2 Replies

10. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
All times are GMT -4. The time now is 06:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy