Source  
Private Attributes and Methods in Perl OOP On March 21, Sunday, 2021

There are other OO modules plugins that allow to add privacy features, but in Perl, it is interesting to see that, privacy is often mostly by convention: subroutines are prefixed with an underscore (e.g. sub _super_private { ... }) and everybody will consider it as private. The privacy with Zydeco can target attributes and methods. By prefixing the parameter name with a * and not a $ in the method signature, you get automatic parameter names.

Read more at dev.to

Source  
Writing Declarative Software in Perl On March 13, Saturday, 2021

In systems with large amounts of technical debt, developers spend a lot of time refactoring the scaffolding. The more time you spend fixing your scaffolding, the less time you have to develop your features. All that extra code is scaffolding and it's easy to forget. When your code gets seriously complex, it can be hard to track down bugs caused by race conditions and not having proper scope on transactions. The "functionality" is what the customer experiences, and that's what we want to fix in our code using the declarative software technique.

Read more at dev.to

Source  
A Guide to Versions in Perl On March 04, Thursday, 2021

Version numbers in Perl are very important. They allow orderly updating and maintenance of modules and distributions across the CPAN. Versions in Perl come in two forms, decimal numbers and dotted decimal tuples. Underscores can be used in either form to indicate a trial version, but have pitfalls to watch for. The VERSION method can be Used on any module to test if it's a certain version or greater.

Read more at dev.to

Source  
Is failure is an option in Perl? On February 23, Tuesday, 2021

Perl has a primitive but effective mechanism for running code that may fail called eval. Many of Perl's built-in functions (like open) return false or other values on failure. It can be tedious and error-prone to make sure that all of them report problems as exceptions. Autodie will helpfully replace the functions you choose with equivalents that throw exceptions. CPAN has the popular Exception::Class module, its author Dave Rolsky recommends that you use Throwable.

Read more at phoenixtrap.com

Source  
Create a web page for Perl CPAN modules using GitHub On February 15, Monday, 2021

If it's a good idea for CPAN modules to have their web sites. Dave thinks the amount of up-to-date Perl content on the web is a good idea. He comes up with the easiest way to build a website using Github. Follow the article in the link below

Read more at dev.to

Perl 7: A Modest Proposal On February 10, Wednesday, 2021

Perl 7 is still waiting for its release along with many developers around the world. Dan has suggestions to release with features and remove experimental warnings on some of the existing features. He proposes the signatures feature be declared stable in Perl 7. And remove the 'indirect', 'multidimensional', and 'bareword_filehandles'. And apply effect of 'use warnings' and 'use utf8' with 'use v7' or higher.

Read more at dev.to

Source  
Authentication in Mojolicious On February 08, Monday, 2021

Mojolicious is a Perl web framework used for the development of web applications. This articles covers the Authentication part in the Mojolicious. Articles assumes user must have basic knowledge of Perl and Mojolicious and elementry knowledge of HTML is also required.

Read more at dev.to

TAGS