Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: How to (ab)use substr

by Chmrr (Vicar)
on May 03, 2001 at 16:05 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2025-07-19 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.