3 quick ways to find out the version number of an installed Perl module from the terminal
Perl module features and behaviour can change from version to version and so knowing the version number of an installed Perl module can be useful in several scenarios. Below are three different command line methods for finding out the version number of an installed module that work on Bash and Windows Powershell. So fire up the terminal and get typing!
Read it
Lexing and Parsing Continued
Many practical programming problems require you to parse data. Ron Savage continues his demonstration of Marpa and other tools and techniques for lexing and parsing data. Put down the regexps; get it right this time.
Read it
Consuming RESTful Services with Perl
When JT Smith ported his web game The Lacuna Expanse to a board game, he used Perl to create the board game itself. Here’s how he built the web service behind The Game Crafter.
Read it
Designing Board Games With Perl
When JT Smith ported his web game The Lacuna Expanse to a board game, he used Perl to automate things. Here’s how he did it.
Read it
Newcomer Experience in the Perl Community Survey
Kevin Carillo asks for assistance surveying newcomers to the Perl community about their experiences, positive and otherwise.
Read it
An Overview of Lexing and Parsing
Perl programmers spend a lot of time reading, modifying, and writing data. When regular expressions aren’t enough, turn to something more powerful: parsing.
Read it
Show off Perl in Plat_Forms 2012
Thanks to Torsten Raudssus, who wrote in with this announcement. What is Plat_Forms? Plat_Forms is a contest and competition in which top-class teams of three programmers compete to implement the same requirements for a web-based system within two days, using…
Read it
Embrace the Reluctant Perl Programmer
editor’s note: an earlier version of this article appeared at The Reluctant Perl Programmer. Per the suggestion of Ask Bjørn Hansen, this revision appears on Perl.com. Who We Are We all love Perl for different reasons. Some of us are…
Read it
Perl Unicode Cookbook: Further Resources
This series has shown you several features of Unicode by example, as well as several techniques for working with Unicode correctly and easily with recent releases of Perl 5. By now you know more than many programmers do about Unicode,…
Read it
Perl Unicode Cookbook: Demo of Unicode Collation and Printing
℞ 44: PROGRAM: Demo of Unicode collation and printing The past several weeks of Unicode recipes have explained how Unicode works and shown how to use it in your programs. If you’ve gone through those recipes, you now understand more…
Read it
Perl Unicode Cookbook: Unicode Text in DBM Files (the easy way)
℞ 43: Unicode text in DBM hashes, the easy way Some Perl libraries require you to jump through hoops to handle Unicode data. Would that everything worked as easily as Perl’s open pragma! For DBM files, here’s how to implicitly…
Read it
Perl Unicode Cookbook: Unicode Text in Stubborn Libraries
℞ 42: Unicode text in DBM hashes, the tedious way While Perl 5 has long been very careful about handling Unicode correctly inside the world of Perl itself, every time you leave the Perl internals, you cross a boundary at…
Read it
Perl Unicode Cookbook: Unicode Linebreaking
℞ 41: Unicode linebreaking If you’ve ever tried to fit a large amount of text into a display area too narrow for the full width of the text, you’ve dealt with the joy of linebreaking (or word wrapping). As you…
Read it
Perl Unicode Cookbook: Case- and Accent-insensitive Locale Comparisons
℞ 40: Case- and accent-insensitive locale comparisons You now know how to compare Unicode strings while ignoring case and accent differences. This approach uses the standard Unicode collation algorithm. To perform a similar comparison while respecting a specific locale’s rules,…
Read it
Perl Unicode Cookbook: Case- and Accent-insensitive Comparison
℞ 39: Case- and accent-insensitive comparisons As you’ve noticed by now, many Unicode strings have multiple possible representations. Comparing two Unicode strings for equality requires far more than merely comparing their codepoints. Not only must you account for multiple representations,…
Read it
Perl Unicode Cookbook: Make cmp Work on Text instead of Codepoints
℞ 38: Making cmp work on text instead of codepoints Even with Perl 5.12’s “unicode_strings” feature, some of Perl’s core operations do not perform as expected on Unicode strings by default. For example, how is the cmp operator to know…
Read it
Perl Unicode Cookbook: Unicode Locale Collation
℞ 37: Unicode locale collation As you’ve already seen, Unicode-aware sorting respects Unicode character properties. You can’t sort by codepoint and expect to get accurate results, not even if you stick with pure ASCII. The world is a complicated place….
Read it
Perl Unicode Cookbook: Case- and Accent-insensitive Sorting
℞ 36: Case- and accent-insensitive Unicode sort The Unicode Collation Algorithm defines several levels of collation strength by which you can specify certain character properties as relevant or irrelevant to the collation ordering. In simple terms, you can use collation…