Skip to main content

Perl

Finding Unused Perl Variables
·342 words·2 mins
perl linting
When you find variables which have not been used, you may find yourself asking, “why is this here?” and you may not easily get an answer. Eliminating unused variables can be good for the performance of the code, but also good for everyone else on your team. So, we want to make sure we can remove old bits of unused code and also prevent new cases.
Opening Files Quickly from Inside vim
·191 words·1 min
vim perl Programming Open::This CPAN
I use ot a lot when it comes to opening files. I wanted to be able to use this tool from inside vim as well. It turns out, the solution is quite simple.
Observing Network Traffic with LWP::ConsoleLogger::Everywhere
·469 words·3 mins
CPAN perl LWP::ConsoleLogger LWP::UserAgent UserAgent
Today an interesting question came up about whether or not Carton uses HTTPS and also which CPAN mirror it downloads from. I wondered if LWP::ConsoleLogger::Everywhere could be helpful.
Detective Work with perlimports
·476 words·3 mins
perl Programming perlimports
I was working on some Perl code which included a function whose origin was not obvious. Here’s how I used perlimports to figure it out.
Improving prove with Preview Windows
·241 words·2 mins
perl Programming testing tab completion fzf prove fd bat
Adding a Preview Window to Your Tab Completion
·304 words·2 mins
perl Programming testing tab completion fzf prove fd bat
Adding Tab Completion to Your Favourite CLI Programs
·544 words·3 mins
perl Programming testing tab completion fzf prove fd
CPAN Bus Factor
·1024 words·5 mins
perl Programming CPAN metacpan
perlimports
·111 words·1 min
Go perl Programming