summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/about/index.md2
-rw-r--r--content/blog/installing-perl.md35
2 files changed, 37 insertions, 0 deletions
diff --git a/content/about/index.md b/content/about/index.md
index bf70a05..3075228 100644
--- a/content/about/index.md
+++ b/content/about/index.md
@@ -16,6 +16,8 @@ The image below I created many years ago in a computer program I'm not even sure
at times been very interested in 3D modelling and photography amongst other
hobbies.
+This is a test.
+
I was a wedding photographer for a while.
I currently live in Berwick-upon-Tweed.
diff --git a/content/blog/installing-perl.md b/content/blog/installing-perl.md
new file mode 100644
index 0000000..7c40c7c
--- /dev/null
+++ b/content/blog/installing-perl.md
@@ -0,0 +1,35 @@
+---
+title: Installing Perl After A Wee Break
+author: M R Lemon
+date: 2021-10-23
+draft: false
+---
+
+# Context
+In October 2021 I was setting up the x220 with a new environment (KDE, Arch,
+etc). I wanted Perl, so this is what I did.
+
+I also wanted to run my `on-add_scheduled_work_task.pl` script for adding lines
+to the remote REMIND instance in taskwarrior. Additional CPAN modules needed
+for this to work:
+
+* `JSON`
+* `DateTime`
+* `DateTime-Format-ISO8601`
+* `Net::OpenSSH`
+
+# Installation steps
+
+* Install `perlbrew`. Follow the [instructions](https://perlbrew.pl/) to install it.
+* `perlbrew install perl-5-34.0`. This can take a WHILE so `tail -f` the
+log to watch the fun. I got a test failed when I did this, but the docs
+(and the console message) said that I could just run `make` to get it to
+install properly. This works.
+* `perlbrew switch perl-5.34.0`
+* Done. But then we want to install stuff from CPAN. Like JSON.
+* Install `cpanm` using perlbrew: `perlbrew install-cpanm`.
+* Then I wanted `JSON` so I did `cpanm JSON`. Because we installed `cpanm`
+using perlbrew it went into the right place.
+
+This is pretty much it. You can punch away now.
+