From 493a2f862e1e9d8d8d7e71cd6692055926661417 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 29 Dec 2018 17:20:41 -0200 Subject: Add website-slides as Perl subcommand. --- pastebin/website-pastebin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pastebin/website-pastebin') diff --git a/pastebin/website-pastebin b/pastebin/website-pastebin index 6dacdfe..8512490 100755 --- a/pastebin/website-pastebin +++ b/pastebin/website-pastebin @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i perl -p gettext less perl --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz +#!nix-shell -i perl -p less perl --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz =head1 NAME @@ -29,7 +29,7 @@ The title of the pastebin. This string will be slugified and the output is used =head1 DESCRIPTION -B creates pastebin org-mode text files, that are later processed to produce HTML to be deployed statically. +B creates a pastebin org-mode text files, that are later processed to produce HTML to be deployed statically. =cut @@ -37,8 +37,8 @@ use strict; use warnings; use Getopt::Long qw(:config no_ignore_case bundling); use Pod::Usage qw(pod2usage); -use Unicode::Normalize; -use File::Basename; +use Unicode::Normalize qw(NFKD); +use File::Basename qw(dirname); my $help = 0; my $title = ''; -- cgit v1.2.3