#!/usr/bin/perl # http://perlmonks.org/?node_id=1200077 use strict; use warnings; my $string = 'Titles consisting of a single word are discouraged, and in most cases are disallowed outright.'; my @tags = split /\n/, <