Re: Shortest non-numeric Perl expression for each number

Andrew Savige <[email protected]> Thu, 11 Mar 2004 17:34:08 +1100 (EST)
Newsgroups gmane.comp.lang.perl.golf
Message-ID <[email protected]>
Ronald J Kimball <[email protected]> wrote:
> ord() opens up some possibilities:
> > $X[6]  = $^F+$^F+$^F;
> > $X[6]  = ($==~/./,$&);
>   $X[6]  = $==~/./&&$&;
>   $X[6]  = chr ord$=;

    $X[6]  = ord"\cF";

Thanks. Forgot about ord and hex.

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com