develooper Front page | perl.fwp | Postings from February 2002

Re: TPR0 Final Results

Thread Previous | Thread Next
From:
Philip Kendall
Date:
February 15, 2002 08:38
Subject:
Re: TPR0 Final Results
Message ID:
20020215163804.A4588@srcf.ucam.org
On Fri, Feb 15, 2002 at 04:20:51PM +0000, Stephen Turner wrote:
> 
> which can be rewritten as this one, three shorter than the winners:
> 
> - 30 -
> $_=pop;print`echo \$((36#$_))`

or if for some reason it is allowed,

- 28 -
$_=pop;print`echo \$[36#$_]`

but this is now turning into Fun With Shell...

Phil

-- 
  Philip Kendall <pak21@srcf.ucam.org>
  http://www.srcf.ucam.org/~pak21/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About