• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4367 shaares
1 / 8
Filters
148 results tagged perl

Chandra: Cross-Platform Desktop GUIs in Perl - DEV Community

QRCode

Building desktop applications has traditionally been a challenge in the Perl ecosystem. While we have... Tagged with perl, c, xs, programming.

https://dev.to/lnationorg/chandra-cross-platform-desktop-guis-in-perl-1ah2
April 6, 2026 at 10:19:03 AM EDT *
perl gui coding
FILLER

Porting ASGI from Python to Perl - John Napiorkowski | Perl Community Conference Summer 2025

QRCode
https://www.youtube.com/watch?v=5TpkjJlKIg4
March 30, 2026 at 4:18:33 PM EDT *
perl psgi
FILLER

Beautiful Perl feature: "heredocs", multi-line strings embedded in source code

QRCode

A piece of "heredoc" data can appear anywhere in a Perl expression. It starts with an initial operator written either << or <<~. The second variant with an added tilde ~, available since Perl v5.26, introduces an indented heredoc, where initial spaces on the left of each line are automatically removed by the interpreter.

Empty string as delimiter

The delimiter string can also be .. an empty string! In that case the heredoc content ends at the next empty line; this is an elegant way to minimize noise around the data.

Several heredocs can start on the same line, as in this example:

my @blogs = $dbh->selectall_array(<<~END_OF_SQL, {}, split(/\n/, <<~END_OF_BIND_VALUES));

https://dev.to/damil/beautiful-perl-feature-heredocs-multi-line-strings-embedded-in-source-code-863
March 30, 2026 at 10:47:38 AM EDT *
perl coding heredoc
FILLER

Beautiful Perl feature : fat commas, a device for structuring lists - DEV Community

QRCode

A fat comma in Perl is a construct that doesn't involve a typographic comma! Visually it consists of an expression followed by an arrow sign => and another expression. This is used in many contexts, the most common being for initializing hashes or for passing named parameters to subroutines:

https://dev.to/damil/beautiful-perl-feature-fat-commas-a-device-for-structuring-lists-4n2o
March 10, 2026 at 9:57:45 AM EDT *
perl
FILLER

Testing PSGI based web applications using Plack::Test

QRCode
https://perlmaven.com/testing-psgi-based-web-applications
February 19, 2026 at 3:37:01 PM EST *
psgi plack perl testing
FILLER

Notes on using regular expressions in Python and Perl

QRCode

Summary of how to work with regular expressions in Python. Compares Python with Perl and points out some gotchas.

https://www.johndcook.com/blog/python_regex/
December 19, 2025 at 2:08:58 PM EST *
python perl regex programming
FILLER

GitHub and the Perl License | Mikko Koivunalho [blogs.perl.org]

QRCode

The Solution: Separate License Files
The simplest and most effective solution is to provide each license in its own dedicated file. This allows Licensee to easily identify and display both licenses. This is perfectly valid because the Perl 5 license explicitly allows for distribution under either the Artistic License or the GPL. Providing both licenses separately simply makes it clearer which licenses apply and how they are presented.

https://blogs.perl.org/users/mikko_koivunalho/2025/11/github-and-the-perl-license.html
December 9, 2025 at 12:18:24 PM EST *
perl github
FILLER

My Guilty Perl Obsession

QRCode

Perl came for free. How much have I contributed in return? Absolutely nothing.

I work as what I’d call an inside-contractor.
I’m a speed-dial (is that still a thing?) phone call away.
Occasionally, a client will call me a dozen times in a day.
I’m closer than their coleague in the next office.

https://www.perl.com/article/my-guilty-perl-obsession/
August 28, 2025 at 9:33:16 AM EDT *
perl career
FILLER

GitHub - obra/Youtube2Webpage: I learn much better from text than from videos

QRCode

I learn much better from text than from videos.

Youtube-to-Webpage is a Perl script to create a webpage from a Youtube video with a transcript generated from the video's closed captions paired with screenshots of the video.

./yt-to-webpage.pl project-name "videoURL"

https://github.com/obra/Youtube2Webpage
July 15, 2025 at 11:18:20 AM EDT *
perl youtube
FILLER

Generating Content with ChatGPT - Perl Hacks

QRCode

Back in January, I wrote a blog post about adding JSON-LD to your web pages to make it easier for Google to understand what they were about. The example I used was my ReadABooker site, which encourages people to read more Booker Prize shortlisted novels (and to do so by buying them using my Amazon

https://perlhacks.com/2025/06/generating-content-with-chatgpt/
June 20, 2025 at 2:49:13 PM EDT *
perl openapi chatgpt llm
FILLER

Please add info into DOC how to run PSGI under CGI · Issue #566 · plack/Plack · GitHub

QRCode

Please put this into synopsys of 'plackup' $ SCRIPT_NAME='/' REQUEST_METHOD='GET' SERVER_NAME='www.test' SERVER_PORT='5000' plackup -s CGI t.pl

Also:

https://github.com/plack/Plack/issues/598
https://github.com/plack/Plack/issues/147
https://github.com/plack/Plack/pull/159/files
https://github.com/plack/Plack/pull/217
https://github.com/plack/Plack/pull/235

https://github.com/plack/Plack/issues/566
May 5, 2025 at 11:06:51 AM EDT *
perl plack psgi cgi
FILLER

jwz: Now I have two problems (Mastodon PHP comments)

QRCode

Lazyweb, why doesn't this regexp match in Perl 5.32.1, 5.34.3 or 5.18.2 but does in PHP and JS: perl -le 'print 0 + ("ABCDE" =~ m/ABCF|BCDE|C(G)/);' Changing nearly any character, including the C before the G, or removing the parens, makes it match.

https://www.jwz.org/blog/2025/01/now-i-have-two-problems/
May 2, 2025 at 1:35:37 PM EDT *
mastodon php perl eleventy
FILLER

Mojolicious and Docker - DEV Community

QRCode

This post plans to illustrate how you can build and dockerize and Mojolicious application and solve... Tagged with docker, perl, devops, mojolicious.

https://dev.to/dragostrif/mojolicious-and-docker-939
May 1, 2025 at 11:00:28 AM EDT *
docker mojolicious perl
FILLER

GitHub - enlightened-perl-organisation/Conference_Video: Tracking the Conference Video Initiative

QRCode

Tracking the Conference Video Initiative. Contribute to enlightened-perl-organisation/Conference_Video development by creating an account on GitHub.

https://github.com/enlightened-perl-organisation/Conference_Video
July 15, 2024 at 2:26:28 PM EDT *
github video perl
FILLER

Build a Better README - Jason A. Crome - TPRC 2024

QRCode

#tprc2024 #perl #readme

Your project's README stinks. Let's make it better, together!Your project's README on Github is your project's landing page, your one chance to land a solid first impression with a new user. So why are so many READMEs so boring? With minimal effort, you can make a lasting impression that win over users who might otherwise move on to another project instead.

Jason Crome will show you some techniques for making an eye-popping README for your project, using Request Tracker, Dancer, and other popular projects as models for what can be done. By the end of this short talk, you'll be able to take your project's README to the next level and set yourself apart from other open source projects.

https://github.com/matiassingers/awesome-readme

https://github.com/dec0dOS/amazing-github-template

https://youtu.be/vfZuFo1gTB8?si=ZawgdIz_950a674N
July 10, 2024 at 11:12:13 AM EDT *
perl youtube readme
FILLER

Collaborators needed for bring full OpenAI support to Perl

QRCode

Thus, that module was deprecated in favor of Nelson's OpenAPI::Client::OpenAI module. Throw the 13K+ lines OpenAPI spec for OpenAI at it and it just works. Further, the module is pretty much a single Perl class rather than a bunch of hand-crafted code.

CPAN authors know it can be hard to keep modules up-to-date (mea culpa, mea culpa!) and this module is no exception. I need this module so I offered to collaborate and created a PR to update it to version 2.0.0 of the OpenAI spec. It now passes all the tests (for those wondering, you need an OpenAI key and it costs $0.04 USD to run the test suite).

In trying to build a Whisper pipeline for that, I found that I couldn't. There was a PR for Whisper support for the older module, but for the newer one, I can't figure out how to get it to issue a request with multipart/form-data support. I've noted the issue in the PR.

https://www.reddit.com/r/perl/comments/1cwa4zd/collaborators_needed_for_bring_full_openai/?rdt=43096
May 20, 2024 at 2:34:47 PM EDT *
llm openapi perl
FILLER

Perl Advent Calendar 2014 - PSGI, Enabling Modern Web Technology in Perl

QRCode

In recent years we've seen an explosion of powerful web technologies in Perl not at the least due to the creation of the PSGI specification.

Plack provides the Plack::Middleware class that makes the process of modifying the response easier, and along with Plack::Util helps us deal with the slightly more complex cases where there's a callback for a response from our inner class:

Plack::Test

Another great thing about abstracting away the actual webserver that our PSGI application is talking to is that we don't actually have to have a real webserver at the outer layer at all! If we just want to test our application we can do this in process by just sending input to the anonymous subroutine and examining the return values.

https://perladvent.org/2014/2014-12-04.html
June 26, 2023 at 9:59:30 AM EDT *
perl psgi
FILLER

Sereal — a binary data serialization format | by booking.development | Booking.com Engineering | Medium

QRCode

By: Steffen Müller, Yves Orton, Damian Gryski, Chris Veenboer, Rafaël Garcia-Suarez, Ævar Arnfjörð Bjarmason As with many things in computing, serialization of data structures is a game of…

https://github.com/Sereal/Sereal

https://medium.com/booking-com-development/sereal-a-binary-data-serialization-format-f5ebd6ede507
June 8, 2023 at 10:14:10 AM EDT *
perl json data database sql mssql
FILLER

Moving from CGI to PSGI and Starman

QRCode

Moving from an old CGI application to Plack/PSGI in CGI mode and to running it in the Starman application server.

https://perlmaven.com/from-cgi-to-psgi-and-starman
May 8, 2023 at 3:49:54 PM EDT *
perl plack cgi psgi
FILLER

Goal - Mission Statement | Gabor

QRCode

Goal - Mission Statement

Help individual people and teams to improve their skills and processes so they can create better quality software faster while they enjoy their work more. So in the end they will have a better job. All this while I enjoy my work and make enough money to sustain my life.

https://szabgab.com/goal.html
May 8, 2023 at 3:46:09 PM EDT *
perl mission
FILLER
1 / 8
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community