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

Chris White - It's the little things

QRCode

I spend most of my terminal time in bash and vim, so little slowdowns in either disproportionately drain my time and energy. Since mid-2019, I have smoothed over warts in those tools by creating new shortcuts and by learning more about what the software already offers!

Colorize the bash prompt!

Last word in bash (filename)

!$

VIM

:b
:V% - visually select block

https://github.com/magicmonty/bash-git-prompt
https://github.com/cxw42/git-log-compact

https://github.com/cxw42?tab=repositories&q=&type=&language=&sort=stargazers

https://www.youtube.com/watch?v=k9SPyKIUap8
July 16, 2026 at 3:38:27 PM EDT *
perl linux vim youtube
FILLER

Mojolicious Gardening - Joel Berger

QRCode

Mojolicious apps come in two flavors, Lite or Full. Lite apps are great for proof of concept but Full is better for robust apps. Can you move up from Lite to Full? Absolutely, we call it "growing"!

http://npw2018.oslo.pm/npw2018/talk/7476

Growing Guide:
https://docs.mojolicious.org/Mojolicious/Guides/Growing

https://www.youtube.com/watch?v=ycAXeOKLCGc
July 16, 2026 at 1:44:41 PM EDT *
mojolicious perl youtube webdesign
FILLER

Jason McIntosh - Whim: A Webmention multitool for the command line - Lighting Talks - Day 3

QRCode

Whim is a brand-new command-line tool (written with Mojo!) that lets you receive, process, display, and send webmentions from the command line.

https://jmac.org/webmention/
https://www.adamdjbrett.com/blog/enabling-webmentions-in-11ty/

Webmention is a recent, W3C-approved technology that aims to promote the proliferation of independent websites through a simple protocol of open, cross-domain notifications.

I have been obsessed with this technology for the past two years, and I will try to explain why, sharing a lot of resources for further study.

https://jmac.org/whim/tpc2020/

https://www.youtube.com/watch?v=J2VLrZ9nh2E
July 16, 2026 at 1:30:17 PM EDT *
youtube perl mojolicious webdesign blog eleventy
FILLER

Mojolicious Nine Point Oh! with Joel Berger

QRCode

Mojolicious Core Team member Joel Berger discusses some of the features of the recent Mojolicious 9.0 release and how they can improve your web (and async) applications.

https://www.youtube.com/watch?v=0RhHZEk_vzk
July 16, 2026 at 10:49:13 AM EDT *
youtube perl mojolicious promises async
FILLER

Data::Random::Contact - Generate random contact data

QRCode
use Data::Random::Contact;
my $randomizer = Data::Random::Contact->new();
my $person       = $rand->person();
my $household    = $rand->household();
my $organization = $rand->organization();

DESCRIPTION

This module generates random data for contacts. This is useful if you're working an application that manages this sort of data.

It generates three types of contacts, people, households, and organizations.

https://metacpan.org/pod/Data::Random::Contact
June 26, 2026 at 2:59:20 PM EDT *
perl testing
FILLER

Use v5.20 subroutine signatures – The Effective Perler

QRCode

If you declare use v5.36; (or a later version, like v5.38 or v5.40) at the top of your script, subroutine signatures are enabled automatically, and you no longer need to suppress any warnings.

https://www.effectiveperlprogramming.com/2015/04/use-v5-20-subroutine-signatures/
June 26, 2026 at 1:49:17 PM EDT *
perl coding
FILLER

The Great Perl Toolchain Summit CLI Throwdown 2026 · olafalders.com

QRCode

A roundup of the command-line tools and terminal setups shared at the 2026 edition of our now-annual CLI throwdown at the Perl Toolchain Summit.

  • eza
  • superpowers
  • fastgron
  • fx
  • dyff

The <(...) syntax runs a command and presents its output as if it were a file (pipe), which lets you feed command output to programs that expect a filename.

# See how the contents of two directories differ
diff <(ls dir-one) <(ls dir-two)

https://www.olafalders.com/2025/06/03/the-great-pts-cli-throwdown/

  • yazi
  • tailscale
  • neovim plugins
  • bat
  • typos
  • shutter (linux)

Other tools

  • ncdu - ncdu (NCurses Disk Usage) is an interactive, text-based disk space analyzer.
https://www.olafalders.com/2026/05/21/the-great-pts-cli-throwdown-2026/
June 8, 2026 at 11:41:49 AM EDT *
perl linux ai llm gemini-cli json
FILLER

Big O Notation | May 2026 | The Weekly Challenge

QRCode

Today, I will focus mostly on Time Complexity from the Perl point of view.

  1. O(1) - Constant Time
  2. O(n) - Linear Time
  3. O(log n) - Logarithmic Time
  4. O(n ^ 2) - Quadratic Time
  5. O(n log n) - Linearithmic Time
  6. O(sqrt n) - Square Root Time
  7. O(n ^ 3) - Cube Time
  8. O(2 ^ n) - Exponential Time
  9. O(n!) - Factorial Time
https://theweeklychallenge.org/blog/big-o-notation/
May 29, 2026 at 9:19:54 AM EDT *
perl coding interviewing
FILLER

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 coding
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
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