Home Feedback? · Contact RegisterSign In blogs.perl.org There's more than one way to blog it. Developing A Game Engine with Perl By Shawn Holland on November 30, 2021 1:22 AM Perl? What... really? To most in the know, coding a game engine with Perl would be a surprise. I've certainly been asked, "Why Perl?". You see, unlike C++, C#, Java and others, which are well established languages in game engine design, Perl is not (well) known for it's role in the development of games. Especially not as a game engine language. You are much more likely to see Perl managing the network infrastructure for the gaming industry then you are to see it powering your favourite video games. So why use Perl then? Because It's what I know. It's that simple. I've spent many years using Perl to solve many problems throughout my career. I've been fortunate to write Perl code that interacts with a wide variety of hardware, Linux servers and network services. But never a game engine. So I answer "Why Perl?" with "Why not Perl?" Why design another game engine? Why not just use an existing engine to make games? 1 comment Continue reading » Perl Weekly Challenge 140: Multiplication Tables By laurent_r on November 28, 2021 10:16 PM These are some answers to the Week 139 of the Perl Weekly Challenge organized by Mohammad S. Anwar. Task 1: Add Binary This task was covered in the following blog post: http://blogs.perl.org/users/laurent_r/2021/11/perl-weekly-challenge-140-add-binary.html. Task 2: Multiplication Table You are given 3 positive integers, $i, $j and $k. Write a script to print the $kth element in the sorted multiplication table of $i and $j. Example 1: 0 comments Continue reading » My Favorite Warnings: experimental By Tom Wyant on November 26, 2021 4:36 PM Perl has had experimental features ever since I started using it at about version 5.6. These were things that were considered useful, but about which there was doubt -- about their final form, whether a satisfactory implementation existed, or whatever. Until Perl 5.18, experimental features were simply documented as experimental. At that point, an experimental warning category was added, with sub-categories experimental::lexical_subs, experimental::lexical_topic, experimental::regex_sets, and experimental::smartmatch. Most of the features covered by the original Perl 5.18 warning categories were actually introduced in Perl 5.10 as back-ports from Raku (or Perl 6, as it was then called), and not documented as experimental. My impression was that the relevant experimental:: warnings were introduced becaue the corresponding features were recognized as being more experimental than originally believed. Programmers already familiar with a feature might not notice an extra sentence in the documentation, but they will surely notice if their code starts spitting out experimental warnings. 1 comment Continue reading » Addressing CPAN vulnerabilities related to checksums By Neil Bowers on November 23, 2021 6:00 PM This blog post addresses checksum and signature verification vulnerabilities affecting CPAN, the cpan client, and the cpanm client, which were published in a security advisory on 23rd November 2021. If you're not aware of this topic, you might like to start by reading the advisory. This post gives a high-level description of the issues, what has been done to address them, what is still left to do, and what you should do. If you have any questions on this, you can add comments here, or email the PAUSE admins (modules at perl dot org). Before we dig into the details, we'll first give an overview of how the relevant parts of the CPAN ecosystem work. If you're not interested in the details, skip to the section "What do you need to do?" TL;DR: make sure your CPAN client uses https and a trusted mirror – such as cpan.org 12 comments Continue reading » The Weekly Challenge - 1000 days By Mohammad S Anwar on November 21, 2021 11:10 PM https://theweeklychallenge.org/blog/1000-days/ 0 comments Permalink Perl Weekly Challenge 140: Add Binary By laurent_r on November 26, 2021 6:31 PM These are some answers to the Week 140 of the Perl Weekly Challenge organized by Mohammad S. Anwar. Spoiler Alert: This weekly challenge deadline is due in a few days from now (on November 28, 2021 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own. Task 1: Add Binary You are given two decimal-coded binary numbers, $a and $b. Write a script to simulate the addition of the given binary numbers. The script should simulate something like $a + $b. (operator overloading) Example 1: Input: $a = 11; $b = 1; Output: 100 Example 2: Input: $a = 101; $b = 1; Output: 110 Example 3: 0 comments Continue reading » My Favorite Warnings: deprecated By Tom Wyant on November 19, 2021 11:53 PM The deprecated warning is a grab-bag. Basically, anything that is deprecated causes this warning to be generated, and the list changes from release to release. The only reason I can think of ever to turn this off is around a deprecated construction while you are actively working to eliminate it. Silencing it and then forgetting about it will bite you, eventually. For the curious (and to run my word count, since otherwise this would be a really short blog entry), the current list of deprecations according to the 5.34.0 perldiag is: 2 comments Continue reading » Vale, David By Damian Conway on November 18, 2021 7:10 AM David H. Adler passed away yesterday. David was a gentleman and a scholar: a gentle, warm, erudite, funny, clever, and deeply kind man. And one who has made a vast contribution to our Perl and Raku communities over more than quarter of a century. My most sincere condolences to David's family...and to the countless other colleagues, acquaintances, and admirers around the world who will be mourning him today. Like so many others, I was proud to call David my friend. I will miss him profoundly. 1 comment Permalink The Quickest Way to Set Up HTTPS By Nerdvana on November 16, 2021 6:09 AM I registered on blogs.perl.org today so that I could comment on posts about object systems. However, the very first thing I encountered was a password page with NO SSL. So, even though I have a ton to say about object systems, my first blog post will instead be about setting up SSL. (I’m aware that this is a “legacy server problem” but I also recently learned that it doesn’t matter with traefik.) In this grand year of 2021 you can add SSL to any site, on any architecture, for free, by adding 3 files to your server, making one small config change to Apache, and running a service. We are truly living in the future. traefik is the first file. It comes from https://github.com/traefik/traefik/releases, and there is one for any architecture, for instance: traefik_v2.5.4_linux_amd64.tar.gz traefik_v2.5.4_linux_386.tar.gz 2 comments Continue reading » I finally start to translate Japanese Perl Zemi to English. By Yuki Kimoto on November 15, 2021 1:32 AM I finally started to translate Japanese Perl Zemi to English. Perl Zemi | Perl Zemi|Perl Installation, Perl Tutorial, Many Examples Perl Zemi is Japanese Perl Tutorial site which is well known and red in Japan. Most of all Japanese Perl users know Perl Zemi and read the document repeatedly. The volume of content is large and has a reputation for being easy to understand. This site is originally Japanese. I started to translate this site into English at 2021-11 using an automatically translation tool. I plan that the not very good descriptions and examples by the automatic translation will be gradually fixed until 2023-01. I'm really going to achieve it. Let's enjoy Perl with me! 1 comment Permalink I made a calculator By Oodler 577 on November 13, 2021 4:05 AM I created a very basic calculator using wxGlade and the Wx Perl module on CPAN. This is a short one. I've been playing around with wxGlade because it generates Perl code. It is pretty easy to get started on Ubuntu using the base perl. sudo apt-get install wxGlade sudo apt-get install libwx-perl It took me a while to get the feel of wxGlade, so hang in there. The pay off is when you figure out how to: build a basic GUI using the builder tools generate Perl code to just show the GUI (with no actions) inspect the Perl code run Perl code start defining the event handlers It also takes some time to get an idea about how the Perl code via wxGlade gets injected into the Perl file. I recommend experimenting with the different places in wxGlade you can put in code. Creating the All Important Flow 4 comments Continue reading » A dream resyntaxed By Damian Conway on November 14, 2021 7:39 PM [Author’s note: If you’ve read Curtis Poe’s most recent blog post, what follows is going to seem eerily familiar. This post uses the same concepts, arguments, and code examples as his, and reaches exactly the same conclusions. That’s because both posts originate from a long and wide-ranging email discussion between Curtis and myself, as I’ve been privately consulting with him over the past few months on the design of Corinna. When I read Curtis’s post I almost decided to bin this one, as he managed to cover everything necessary in his usual succinct, eloquent, and engaging style. But he has encouraged me to post my version of this discussion too, as it provides a little more detail on some of the issues we’re addressing, and on the design rationale for the changes we are jointly proposing. 26 comments Continue reading » The Ephemeral Miniconf By Tiib on November 12, 2021 1:35 PM The Ephemeral Miniconf is planned on thursday 18th of november 2021! Have you heard about The Ephemeral Miniconf ? It's a Perl/Raku free and online miniconf that will take place on Zoom! Think "TPRCiC" but smaller with only one track :) I'm honored to have some experienced speakers about Perl, Github, Devops, LDAP etc... You will enjoy I promise! More informations on my big blog serie about on devto or on the website. I can give you already the connections informations: Meeting ID: 818 6906 5466 Pass: 42 It's planned at 3pm UTC+1(Paris time) so check the timezone planner to know when it is for you. It's in the morning if you're in US, in the afternoon if you're in Europe and very late if you're in Asia or Australia (sorry). The planning will be something like this: (it could last longer or change a bit inside the range, like shifting talks, but at the moment here it is) I'm also possibly preparing some surprises that I don't want to reveal for now. So my message is basically, it's coming, book your calendar and I'm looking forward to see you at The Ephemeral Miniconf! 1 comment Permalink Monthly Report - October By Mohammad S Anwar on November 4, 2021 11:10 AM In the festive mood again ... The festive season began already and I miss celebrating festivals with family and friends. But this is nothing new, I should get used to it now. Still sometimes it hurts really bad after all we are humans. In the past, we tried to be with family during festive season. The truth is it didn't feel the same. I don't know why. Could it be we are no longer carefree souls? But that can't be true. I have seen some of my friends on Facebook sharing celebration moments with family. It looks so beautiful and cute. The only difference I can think of is that they with family and I don't. I would like to mention one friend from Nepal. We never met but I always watch his Facebook post having great time with his family. I think we became friends because of common love for Perl. 0 comments Continue reading » berrybrew version 1.36 released! By Steve Bertrand on November 1, 2021 5:09 PM I've released version 1.36 of berrybrew, the Perlbrew for Windows. I've also reached out to see how I can become part of the Strawberry Perl team to get back on track with the release of new Strawberry Perls. If you have any information on the release procedure for Strawberry, or know anyone on that team I might be able to contact to get things moving forward again, please let me know. This release contains one significant new feature, the ability to use Powershell as the shell when opening or using a Perl. In the UI, when you "Open" your current Perl, or "use" any Perl you have installed, if the "Use Powershell" option is checked, instead of a cmd.exe shell, you'll be presented with a Powershell one instead (same applies for the command line berrybrew use $version. The other changes in this release enhance the unit testing infrastructure, and the tests themselves. Other notable changes since my last blog post: The berrybrew associate command now has an alias of assoc for fewer keystrokes Better exception handling in several cases Documentation clarifications Removed the upgrade command. It's now recommended to use the Installer to manage upgrades Fix issue when using berrybrew to manage file associations where arguments passed to perl were being handled incorrectly Unit test infrastructure enhancements 2 comments Permalink open invitation to participate in Perl-OpenMP on Github By Oodler 577 on October 31, 2021 1:44 AM I've had https://github.com/Perl-OpenMP up for a while, but I only recently thought to post an open invitation for others interested in this exploration topic to join. #openmp on irc.perl.org exists, semi-related IRC channels inlcude: #native and #pdl . My confidence in the value of this line of work was bolstered recently when I shoved in an old finite element of 2dheat conduction into a Perl script using, OpenMP::Environment Alien::OpenMP Inline::C Two interesting examples follow: https://github.com/Perl-OpenMP/p5-OpenMP-Environment/blob/master/examples/07-2dheat.pl https://metacpan.org/release/OODLER/OpenMP-Environment-1.1.2/source/examples/09-array-sum.pl The second of these examples takes an example from Inline::C::Cookbook that shows how to process an array reference, coupled with an OpenMP reduction by OMP_NUM_THREADS threads. gcc has supported OpenMP's 4.5 specification as of version 7. So it's there and there are many ways that it can be leveraged via Perl. 0 comments Continue reading » Reviving Net::Pcap By Max Maischein on October 26, 2021 7:26 PM I've blogged a bit about my steps to get Net::Pcap to compile again - I won't paste the complete text here unless there is demand, but I'm posting the link to the article here :) https://corion.net/blog/2021/10/26/reviving-net-pcap/ 0 comments Permalink Some Perl Code In Memory of a Great Scientist By martin on October 24, 2021 1:10 PM On August 21, 2021, famous Polish mathematician Andrzej Schinzel passed away at the age of 84. He was one of the great minds behind modern number theory. May he rest in peace. I have extended one of my CPAN modules relating to his work and dedicated the release to his memory. 0 comments Continue reading » I try match syntax using Syntax::Keyword::Match By Yuki Kimoto on October 19, 2021 2:59 AM Syntax::Keyword::Match is a module to enable match syntax in the current Perl by Paul Evans who is one of the current Perl Steering Councils. See perlgov about the Perl Steering Council. Syntax::Keyword::Match Examples Syntax::Keyword::Match Examples Number matching Number matching. Match syntax is similar as a switch syntax of C language. 2 comments Continue reading » Web::PageMeta - a mixed sync/async lazy Perl Moose HTTP-GET module By Jozef on September 29, 2021 10:39 AM Announcing here Web::PageMeta which is lazy build-ed HTTP-GET and web-scrape-data module able to work both in classic code and also to behave non-blocking in async code. More info on my blog or on CPAN or on GitHub . 0 comments Permalink Page 2 → About blogs.perl.org blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd. Search blogs.perl.org Perl & The Community perl.org perl.com pm.org yapc.org perlmonks.org Free blog hosting for users of the Perl Programming Language Powered by Movable Type