Lower-Case Golf (Was: Programming Contest)
Duggie
duggie-belfast-pm at blackstar.co.uk
Fri Feb 8 10:05:05 CST 2002
On (08/02/02 10:58), smylers at stripey.com wrote:
> I wrote:
>
> > perl -pe'$_="\U$_"' # 10
>
> Ooops. Typo there, since that's blatantly nineteen rather than ten.
>
> If using \U isn't in the spirit of things, this is the shortest I've
> got otherwise:
Why isn't it in the spirit? I thought the 10 was your 'marks out
of 10' score! ;)
Thanks
Duggie
More information about the Belfast-pm
mailing list