Sponsored Content
Top Forums Programming To Perl or not to Perl, that is the question... ;o) Post 303040363 by Neo on Sunday 27th of October 2019 09:36:39 PM
Old 10-27-2019
Having "said all that" and "read all that" .... and now veering off topic ....

I have always admired people who "do" versus those who talk about "doing". Everyone "talks".... but "doing the talk" is a whole different story. That is why I never recommend being "certified" and always promote "building projects and applications".

So, when someone writes code to solve a problem, automates some process, or processes some data (what ever it is), in any language, especially beginners - I think that is much more interesting that the person who comments and critiques the work of others, touts one programing language over another, pushes commercial driven "standards" at every instance, but rarely actual creates nor releases any software of "operational value".

The "engineering ethic" (at least the one thought in the universities I attended way back when) is that engineers design and build for the benefit of society; and there is no "ethic" that the code must be written in PERL or Python, KSH, Bash, Javascript, PHP, using "this or that rigid design philosophy" or whatever. Nor is there any "ethic" that all artists use the same media or painters all paint with the same colors and brushes.

Like many here, I code for production applications nearly every day (even if only for an hour in a single day). This weekend I worked on a Javascript-based application and a PHP-based app. I enjoyed both. Both were production apps used by millions of users every year, in one way or the other. It does not matter for me if I was building the feature from scratch, reverse engineering a good idea, bug fixing an app, or upgrading one. It is all "constructive fun" and good for the mind, soul and spirit.

For those reasons and more, I like when wisecracker and others post their creative work, regardless of the programming language they choose. It's all the same to me, for the most part: reading and writing files (data), conditional branching and loops, pattern matching and extraction, etc. it's like ordering food. If I the menu is in English, Thai, French, Chinese or German, it is still "food", at the end of the day,

Everyone should follow their own dreams and learn as much as they can (all the time, everyday); and unlock their own creative abilities and interests. Most of all, we should stop worrying about what others say or do; because in the end, what matters is what we do (ourselves), not what other people, especially those of strong opinion and forceful voice, do. Always keep the mind of the "beginner" even when you are very good at many things.

Keep up the good work wisecracker, the world needs more talented, creative people like you; and thanks for sharing your creative work here at UNIX.com.
This User Gave Thanks to Neo 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
Module::Install::Philosophy(3)				User Contributed Perl Documentation			    Module::Install::Philosophy(3)

NAME
Module::Install::Philosophy - The concepts behind Module::Install SYNOPSIS
This document describes the personal philosophy behind the creation of CPAN::MakeMaker (the predecessor of Module::Install). The views expressed here belong to Brian Ingerson; if they are not of interest to you, you can safely ignore this document. I HAVE A DREAM
I say to you today, my friends, that in spite of the difficulties and frustrations of the moment, I still have a dream. It is a dream deeply rooted in the Perl Module dream. I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self- evident: that all Perl authors are created equal." I have a dream that one day even the state of the "CGI::" namespace, a desert state, sweltering with the heat of injustice and oppression, will be transformed into an oasis of freedom and justice. I have a dream that my four modules will one day live in an archive where they will not be judged by the number of their prerequisites but by the content of their source code. I have a dream today. DESCRIPTION
The above is obviously a mutation of the monumental speech by great Martin Luther King (<http://web66.coled.umn.edu/new/MLK/MLK.html>). While the contexts are vastly different, I feel that there are some serious parallelisms. The CPAN has become a place that is not free of injustice. This situation has arisen not out of directed oppression, but from a failure of our community to keep its tools sharp. It is the culmination of many small decisions made in the name of practicality. This is a sad state for an institution that was created to allow all interested people to contribute equally to the best of their ability. This assertion is rooted in my personal experience as an author. When I created my first Perl module, Inline.pm, I knew that I had done something important. But how was I to make a dent in vast Perl community? As a complete unknown in the Perl community, my voice did not travel far. I repeatedly tried to get even an acknowledgment from the gurus familiar with XS. No success. I resorted to sending messages with ridiculous subjects to "modules@perl.org". (<http://www.xray.mpe.mpg.de/mailing-lists/modules/2000-08/msg00078.html>) No response. Through sheer determination and shameless self- promotion I eventually got the word out, and I hope the world is a slightly better place for it. Since then, Inline has won awards and I have had the privilege to meet almost all of Perl's finest. But I still remember the pain of starting out, and want to help invite more people into this wonderful world. One thing I have learned from experience is that the Perl community (and throw in the Python and Ruby people as well) is a small drop in the vast ocean of programming. It's a giant pot of Java out there; and a sea of C. Perl may not be the biggest fish, but with some care and cunning we could become a much bigger school. These are the current problems that I see with CPAN and the core modules: o New Modules don't help Older Perls If I were to guess what percent of all Perl5 installations were at the current release level (5.8.0 in October 2002) I would say 3-5%. That may even be generous. I'd say that over 40% of installations might still be at 5.005 or earlier. The biggest problem with adding a module to the core is that it only helps a small subset of Perl users for a long long time. Worse yet, a good module author will still probably avoid using the core additions as prerequisites, because they want their new module to work as well on 5.005 as on 5.8. CPAN::MakeMaker should be able to help in this regard. For example, instead of putting Inline.pm into the core for 5.9, I can now effectively get it into the core for every version of Perl that Inline supports. o Author Exclusiveness Not just anybody can get a module into the core. It seems you have to know people in high places. If I were a brilliant new talent with a great new module, it would have a harder time getting the ear of the pumpking, then if I were, say, Damian Conway. In fact, I probably wouldn't even know where to start. o Reduced Competition One comment I've heard from some very good Perl programmers is "Everything important has already been done". Their feeling is that even though a module is suboptimal, it would be a waste of time to write a competing module. Who would use it instead of the one already in the core? When I write a competing module, I know that I have to make it at least twice as good as the existing one to even get noticed. That's not a bad thing, but should everybody be forced into that situation? For example, let's say that you have created a really useful CGI script. Let's also say that it makes use of your own CGI::Special module, because CGI.pm doesn't meet your needs. Even though your script might be generally useful and worth sharing, the fact that it requires a non-standard module can only negatively affect its acceptance. Trying to get general acceptance for the superior CGI::Special module will be harder still. Core modules are assumed by the general public to be "Best of Breed". While this may be true for some modules at some point in time, it keeps talented people from attempting to "breed" something better. o Core Bloat Every time we add a module to the core it gets bigger and bigger. And we can't ever remove modules from the core, once they've been added. If I had my druthers, we'd remove all modules from the core that weren't necessary for either running Perl or installing modules. Of course, we'd need to set things up so that installing modules was so easy, that it could be done on the fly if necessary. Is this easily accomplishable? Nope. Is it impossible? Nope. We have the best language in the world to help us do it! o Maintenance Bitrot Believe it or not, Perl authors can sometimes acquire a "Life Beyond Perl". They get families or new hobbies or even hit by a bus. (This would be a "Death Beyond Perl".) The fact is, that once somebody writes a piece of code and shares it with the world, they are expected to maintain it for all time. That is being generous. There are others that think that once their module has become popular or made it into the core, they don't need to keep fixing and improving it. I have personally been guilty of this sin. And then there's the Damian Conway Effect. This plagues the exceptional authors who are so innovative and prolific they simply don't have time to maintain everything they have written. I initially formalized these opinions at the YAPC (Yet Another Perl Conference) in June 2001. Since then I have been trying to think of technological solutions to fix these social problems. One idea was dubbed NAPC. NAPC is CPAN backwards. It is a large system of precompiled modules that can be installed on the fly, with the goal of reducing the number of modules in the core. NAPC hasn't got started yet. I'd still like to do it someday, but it's a big problem with a lot of issues. CPAN::MakeMaker (and now Module::Install) on the other hand, is simple and ultimately flexible. It should work with all of the existing CPAN processes without requiring any changes from them. And new features can be continuously added. Even though it doesn't scratch all of my philosophical CPAN itches, it's a good start. CONCLUSION
This is all just food for thought. Take it with a pinch of salt. AUTHOR
Brian Ingerson <INGY@cpan.org> COPYRIGHT
Copyright (c) 2002. Brian Ingerson. This document is free documentation; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.16.3 2012-03-01 Module::Install::Philosophy(3)
All times are GMT -4. The time now is 09:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy