#! /usr/bin/env perl use strict; print "The troublesome entities, irksome to Monks:\n " , ( join " and ", map{ sprintf qq{"$_" is safe as }.q{&#}.qq{%d;}, ord ; } qw/[ ]/ ) , "\n"; __END__ =pod Or as a one-liner: perl -e' print "The troublesome entities, irksome to Monks:\n " , ( join " and ", map{ sprintf qq{$_ is safe as }.q{&#}.qq{%d;}, ord ; } qw([ ]) ) , "\n"; ' =cut
|
---|
Replies are listed 'Best First'. | |
---|---|
(jeffa) Re: remind me again ...
by jeffa (Bishop) on Jul 25, 2003 at 14:38 UTC | |
by Intrepid (Curate) on Jul 25, 2003 at 19:01 UTC | |
by sauoq (Abbot) on Jul 25, 2003 at 20:07 UTC | |
Re: remind me again ...
by Anonymous Monk on Jul 25, 2003 at 13:58 UTC |