Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: How to (ab)use substr

by Sinister (Friar)
on May 03, 2001 at 15:19 UTC ( #77621=note: print w/replies, xml ) Need Help??

in reply to How to (ab)use substr


This one definitly kicks ass! (excuse the language!)
Creating JAPH from PI. Man, how long did it take to puzzle it out!

Sinister donates flowers

Sinister greetings.

Replies are listed 'Best First'.
Re: Re: How to (ab)use substr
by Chmrr (Vicar) on May 03, 2001 at 16:05 UTC
    It's not quite pi -- that would start "3.14159265358979.." Methinks the value of pi was slightly adjusted to make this come out as planned. ;> Still, I'm also in awe.

    perl -e 'print "I love $^X$\"$]!$/"#$&V"+@( NO CARRIER'

      You'll notice that it says 'my $pi=...', and not 'the $pi...' so he can have pi be whatever value he likes in his universe. <g>


      e-mail jcwren
        Hmm... I wonder what Erudil's universe looks like, exactly...
      the $pi = '3.14159265358979323845626...' # I think.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77621]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-03-21 17:22 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.