Perl, Perl 5, Science, Programming/Coding

DevOps in Perl? Consider Rex.

Rex is a ‘Deployment & Configuration Management’ also knows as DevOps framework. Interestingly, it is in Perl, for Perl language. There is Ruby’s Chef & Puppet, Python’s Ansible, and Perl also has those frameworks too, but here I’m pointing to Rex because it will be much more familiar to Puppet, Chef and Ansible users in syntax and workflow perspectives.

Why do this in Perl?

Perl itself has been designed and well known for its powerful features on sysadmin tasks. Combine with this kind of framework, you are just gonna be much happier on getting the job done. Fortunately, if you are trying to opt to write ‘maintainable and long-term modules/scripts’ without using Rex, Modern Perl as a guideline should help you doing so, and CPAN with much lesser code in general.

Programming/Coding

Progress

Learning to Code

Coder Wong

After a month studying programming for 8-12hrs per day. My mind finally gave in the last 2 days. I think I woke up on the wrong side of the bed. Couldn’t think properly and had to reset. Currently learning JavaScript and it’s a pain in the ass but I will never give up! Now, I am revitalised  and back at it again!

Currently following Javascript Is Sexy site.

Happy Easter Everybody!

We are not defeated by adversity but by the loss of the will to strive. However devastated you may feel, so long as you have the will to fight on, you can surely triumph.

View original post

Uncategorized

Java method overloading

Method overloading allows a class to have two or more methods having same name. But there are some conditions applied if you overload a method. Let’s discuss on then. First of all we should know “ Why do we use method overloading in Java?” . Suppose we have to perform addition of given number but there […]

via Dive into Java Method Overloading — Linux_Point

Perl

A quick look at Perl 6

Raku..Perl 6 is a “new ” programming language just finally released for stable version in the end of the year of 2015. You might be thinking that Perl 6 is the next version of Perl 5. However, it’s not. Perl 6 is totally different language than Perl 5.

The General Design

Perl 6 is a multi-paradigm language that supports object-oriented and functional programming as well. It also comes with gradual or optional typing like Go (means that you can switch between to explicitly declare the variable type in the program). As a bonus, Perl 6 made parallel and concurrent programming easier. Well of course, it’s equal if not better than Perl 5 for system administration tasks.

Why use Perl 6?

Due to its modern capability while maintaining the Perl philosophy much better than any other language, Perl 5 users will feel like at home, just not inside your own house, but inside your neighbor house. Yes, it’s relatively new language, has newer features compared to Perl 5. However, currently, it doesn’t have modules as much as Perl 5 modules in CPAN, but that will change, of course with the help of the community and its users.

So should I not use Perl 5?

No, you should keep continue to use Perl 5. Perl 5 and Perl 6 are different beasts. They might looked same, but they are not in the design perspective. Perl 5 is already time tested over 20 years, and has numerous libraries and tools to make it really useful for most things.

 

Perl 6 made easy for beginners to use, and we’re all beginners to Perl 6.