Category Archives: geany

template perl geany

Surprisingly, Geany doesn’t have a template for Perl programs (though thankfully it does recognize and colorize Perl). To add Perl as a template, just createfiletype.perl in ~/.geany/templates.

My Perl template is:

#!/usr/bin/env perl

use warnings;
use strict;
use Data::Dumper;

Restart Geany, and Perl should now be visible as a template.