A Van Gogh style starry night painting with user interface icons and widgets along the bottom, representing website themes

Using Hugo Modules for themes

Did you know Hugo has this feature called Modules? Apparently built on the same concepts of Go Modules, which shouldn’t be a surprise. So having used all my hugo themes so far as Git Submodules, I wanted to switch over to this method. Hugo modules are considered to be the building blocks of Hugo. It is the Hugo way of modularising your static website. Apparently you can create a theme as a module and content as another module and use them together in a third module to serve as your static website. I didn’t go that far just yet. ...

April 1, 2024 · 3 min · 513 words · Eakan Gopalakrishnan
A camel silhouetted on a desert dune under a starry night sky, with glowing circuit traces in the sand

Perl module installation - Ubuntu

Ever wondered how to install a Perl module from CPAN: sudo perl -MCPAN -e 'install ModuleName'

February 5, 2014 · 1 min · 16 words
A camel silhouetted on a desert dune under a starry night sky, with glowing circuit traces in the sand

Perl - Modules and path on disk

I don’t know if you have ever wondered where a module that you have been using is installed. Working in a corporate with multiple operating systems and having to maintain data update systems on multiple platforms that run on Perl based scripts, you might have to make sure that the CPAN modules you use are of the same versions, to keep your code portable. So recently I ran across one of these problems and came up with some interesting solutions as suggested by my colleague. I didn’t understand what I was doing at the time. So I took a break and tried to understand how I actually got to know what it was. ...

February 2, 2014 · 3 min · 520 words