Perl Weekly
Issue #550 - 2022-02-07 - Perl & Unicode
latest | archive | edited by Mohammad Sajid Anwar
|
Hi there
Are you a Unicode fan?
Personally, I am not. The reason is that I still struggle to get my head around it. During my early days of learning, I never got the opportunity to work with Unicode. So far, I have never had to deal extensively with Unicode characters. There is so much information available on the internet. I remember, a long time ago, I was dealing with the well-known warning Wide character in print. After a quick search, I came across this explanation by Dave Cross. I have kept it bookmark for future reference. I know am repeating myself here as I remember talking about in an earlier weekly newsletter. It is worth sharing with readers again and again.
However, there is another reason why I am talking about it today. Let me share gem of an article by David Cantrell. The article gives us very deeps knowledge about Unicode, specially for a Perl developer. It has cleared most of my doubts, so a big thanks to David for such a great article. It also introduced me to a new word, Mojibake. A friend of mine on Facebook, suggested a CPAN module, Test::Mojibake which is very handy. I wish there was dedicated book on Perl and Unicode. Having said that, I found this Wikibook on the subject, you may want to explore it.
I came across a YouTube video that explains Unicode in terms that any lay-person can easily understand. I loved it the way it is explained in a casual way. The guy in the video makes it so simple.
Let's talk about regexes in Perl.
I am sure you have used regexes in Perl at some point in your career. A few days ago, I found out a clever use of regexes shared by Abigail. The use of //g in list context. It completely blew me away. Later someone pointed me to the official Perl documentation talking about it. If you are curious to know more about it then I would suggest you take a look at his blog post.
Enjoy rest of the newsletter.
Mohammad Sajid Anwar
|
|
|
Announcements
|
by Niko Tyni
Niko uploaded Perl 5.34 to Debian unstable.
|
|
|
Articles
|
|
by Dragos Trif
A very interesting introduction to Behaviour-Driven Development.
|
|
|
by Tom Wyant (WYANT)
Tom sharing his favourite module 're' dealing with Perl regexes.
|
|
|
by Flavio Poletti (POLETTIX)
Flavio shared the widely-discussed topic 'import' and how he visualises the feature.
|
|
|
Web
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Anwar will help you step out of your comfort-zone. You can even win prize money of $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month from among all of the contributors during the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks "Binary Tree Depth" and "Rob The House". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read the FAQ.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Fibonacci Words" and "Square-free Integer" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Colin Crain
Perl Solutions Review by Colin Crain.
|
|
by Abigail
Abigail's special touch in this week's solution is using regex. You don't want to miss it.
|
|
by Abigail
This classic one-liner in Perl by Abigail is top class. It should be kept safe; not to be lost.
|
|
by Arne Sommer
Arne's Raku solution has plenty for everyone. I loved the use of 'subset'. It makes the code cleaner and easier to read.
|
|
by Bruce Gray
Cool title and nice compact short blog post.
|
|
by Colin Crain
Task-specific blog post gives us plenty to talk about. Colin's control over the language is top notch. I am a very big fan. Thank you for sharing your knowledge.
|
|
by Colin Crain
The background story makes an interesting read as is always the case. Highly recommended.
|
|
by Dave Jacoby (JACOBY)
Breaking down the task into smaller subtasks makes it easy to code. Difficult task appears simple. Great work.
|
|
|
by Flavio Poletti (POLETTIX)
I love Raku classes. Lots of Raku magic presented in the blog post. Thanks for sharing.
|
|
|
by Flavio Poletti (POLETTIX)
Once again lots of pretty Raku code, easy to follow. Cool promotion of the language. Thank you.
|
|
|
by James Smith
James keeping up his tradition of compact solutions. Loved the Fibonacci Words solution. Keep it up; great work.
|
|
by Laurent Rosenfeld
Laurent presented us with lots of new Raku magic. His Perl solution is not far behind either. Thanks for sharing your knowledge.
|
|
by Luca Ferrari
I loved the parameter checking in Raku. Keep it up; great work.
|
|
by W Luis Mochan
Luis is a master of one-liners. This week we got another masterpiece. Thank you.
|
|
by Peter Campbell Smith
I simply loved the blog post title - very unique. Peter's frank discussion in the post is worth reading, you don't want to miss it.
|
|
by Roger Bell West (FIREDRAKE)
Are you a Ruby fan? Roger shared his Ruby solution in this week's blog post. Easy to follow format as always. Keep it up; great work.
|
|
by Simon Green
Simon keeps it short and simple. I find his discussion really to the point. Thanks for sharing.
|
|
Rakudo
|
|
Weekly collections
|
|
The corner of Gabor
A couple of entries sneaked in by Gabor.
|
|
|
Events
|
Tuesday February 8th, 2021 07:00 PM Eastern Time (US and Canada)
|
|
|
Our client is the world’s leading provider of award-winning intelligent SaaS solutions for clients ranging from first responders and engineers to manufacturers and educators. The successful candidate is a Perl developer with Catalyst and Dblx::Class. You’ve been around the block and you know your stuff.
|
|
With over 40 million readers around the globe, our client goes deep on cloud services, artificial intelligence, software, hardware, electronics, culture, and space. You’ll need experience writing great Perl, along with valid HTML, Javascript, and CSS. Toss in experience with SQL and ORMs like DBIx::Class and add your excellent Linux experience and you’ve got the skill set this role requires.
|
|
Our client is at the pinnacle of the premium native advertising game for corporate, tech, financial services, and lifestyle technology. This role is for a Senior Developer who is equally comfortable with Perl AND Python.
|
|
As Chief Software Architect for an international company providing online trading services, you’ll work closely with the Chief Technology Officer. With a strong understanding of the full stack of software development and cloud technologies, you’ll mentor engineering teams and provide guidance in solving technical issues.
|
|
Our client is saving the world from overpaying on electronics and household goods, one great deal at a time. As a large and trusted product and price comparison platform, these wunderkinds keep more hard-earned Euros in wallets and purses across German-speaking countries. This dynamic team is expanding into new markets, and they need a Perl programmer to help them on their way.
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|