Perl Weekly Issue #385 - 2018-12-10 - Advent calendars for PHP, Go, Ruby, and Java programmers and more! latest | archive | by Gabor Szabo Don't miss the next issue! Tweet

Hello all! Len Jaffe has a collection of Advent calendars not just about Perl. I don't know if he ever promotes that besides telling me about it every year in the hope that I'll include in the Perl Weekly. It's a pity because it is a great resource. You can find tons of great articles in the Advent calendars. You just need to find the time to read them! Enjoy your week! Gabor Szabo

Sponsors

With StickerYou.com, you can even create custom patches!

StickerYou is your one-stop shop to make your business stick. Ever thought of ordering custom patches for your business? Your staff could have name badge patches, or you could have your logo on a patch for staff or customers to sew onto their jean jackets, hats, laptop bags, you name it! Whether you’re a freelancer or a business owner, StickerYou makes it easy to create brand awareness by branding your gear and having your logo on display everywhere you go. Use code PERL10 at checkout for a 10% discount.

Announcements

PostgreSQL 11 Server Side Programming - Quick Start Guide

by Luca Ferrari I don't know if I'll ever need to write code on a PostgreSQL server, but if I do I know which book I am going to buy. Heck, I might buy it just to learn about a subject I have never used before. Congratulations Luca!

Articles

Validating untrusted input: numbers

DFARRELL) by David Farrell What is a number? Is 2.3 a number? Is 0.3 a number? What about .3 or 2. - are those considered numbers? It all depends who do you ask. Perl comes with Scalar::Util that has a function called 'looks_like_number' that I think embodies this question. Perl won't commit to declare that the given string is indeed a number in your univers. It just say it looks like one. David explains the problems with this function and shows other ways to check if a string is indeed a number.

Perl v5.30 lets you match more with the general quantifier

BDFOY) by brian d foy I never thought about this but apparently you cannot write a regex with {N,} where N is larger than 32,766. Try it! This will throw en exception 'x' =~ /b{32767,}/ but don't worry Perl 5.30 will double the limit. I don't think I ever needed such regex with N greater than 17 and even that was just to show an example to my students. If you ever needed more, I'd love to hear your story! If you needed more than 32,766 brian d foy also wants to hear your story! I don't know what brian writes in the article is fun or scary. Or both.

CPAN

Moose

Perl Tutorial A section for newbies and for people who need some refreshing of their Perl knowledge. If you have questions or suggestions about the articles, let me know and I'll try to make the necessary changes. The included articles are from the Perl Maven Tutorial and are part of the Perl Maven eBook.

Weekly collections

Events

DC Baltimore Perl Workshop 2019

April 6th, 2019, Silver Spring, Maryland

North American Perl Conference 2019

June 2019 Pittsburgh

European PerlCon 2019

August 7-9, 2019 Riga, Latvia

Do you love customers? Senior Perl Developer with a product focus, London

Wish your ideas for product improvement didn’t keep disappearing in to the Project Manager’s backlog?

Senior multilingual developer needed for a fast growing team in London

A chance to work with a platform that is growing fast and that gives you the opportunity to stay with the same team without always doing the same thing