Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Life at the Monastery. Chapter 1

by turnstep (Parson)
on Dec 07, 2000 at 22:23 UTC ( #45574=note: print w/replies, xml ) Need Help??


in reply to Re: Life at the Monastery. Chapter 1
in thread Life at the Monastery. Chapter 1

That's an easy one:

if ($PI =~ m/(\d)$/) { print "The last digit is $1.\n"; } else { print "Seems that pi does not end in a digit. Who knew?\n"; }

The hard part is assigning the correct value to the scalar $PI.... :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://45574]
help
Chatterbox?
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"
[Eily]: I still don't understand how the Turkish AA fit into the German+Czech joke though :P

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-03-27 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.