Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: How to (ab)use substr

by Chmrr (Vicar)
on May 03, 2001 at 16:05 UTC ( #77633=note: print w/replies, xml ) Need Help??


in reply to Re: How to (ab)use substr
in thread How to (ab)use substr

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'

Replies are listed 'Best First'.
(jcwren) Re: (3) How to (ab)use substr
by jcwren (Prior) on May 03, 2001 at 16:48 UTC

    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>

    --Chris

    e-mail jcwren
      Hmm... I wonder what Erudil's universe looks like, exactly...
Re: Re: Re: How to (ab)use substr
by premchai21 (Curate) on May 04, 2001 at 08:06 UTC
    the $pi = '3.14159265358979323845626...' # I think.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2020-10-19 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (205 votes). Check out past polls.

    Notices?