Skip to content

May 2023

Lilbit Meta-Programming Knowledge

Post Updated: August 27, 2023
FIRST-TIME ENCOUNTER WITH META PROGRAMMING

It all started when I was casually scrolling through my feed on X (formerly Twitter) and came across the term meta-programming. Initially, I was familiar with the term "meta" from HTML, specifically the <meta> tag, which provides metadata about a webpage, such as its description and author. This connection piqued my curiosity: what could meta-programming mean in the context of programming? What is the relationship between these two uses of "meta"?

Quote Operators

QUOTE AND QUOTE-like OPERATORS IN Perl

In the previous article, we discussed enums and I provided an example of enum code in Perl using use enum qw(RED YELLOW GREEN);. In this example, we declared constants for traffic light colors. Now, let’s dive deeper into what quote and quote-like operators are in Perl and how we can leverage them to enhance the efficiency and clarity of our code.

Script w/out #!

HAVE YOU EVER IMAGINED IT

Running Scripts Without Shebang: Is It Really an Issue?

Seriously, when I first started writing scripts, to be honest, I never paid much attention to the small details like the shebang (#!/usr/bin/perl). All I knew was, if I wanted to run a script, I just had to type interpreter_command filename.ext, and everything would work fine. But these day, I found myself wondering, "Do I really need to include that shebang every time?"