Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Domain Nodelet?
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 exploiting the Monastery: (7)
As of 2023-03-22 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?