Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Jun 2000 20:03:36 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thus it was written in the epistle of Eben Yong,
> I apologize for kicking the dead llama but I think you're right. This is
> exactly what I was looking for. Thanks!
Since everyone is happy, I won't mention constant subroutines which allow you
to do something like this:
sub PERDAY () { 24*60*60 } # Note the ()
print "$elapsed seconds is approximately ",$elapsed/PERDAY," days.\n";
At compile time, that second line becomes
print "$elapsed seconds is approximately ", $elapsed / 86400, " days.\n";
(just ask B::Deparse, I did :-).
Ted
--
Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University
==========================================================
The imaginary number is a fine and wonderful recourse of the divine spirit,
almost an amphibian between being and not being.
-- Leibniz, Gottfried Whilhem (1646-1716)
==========================================================
Deep thoughts to be found at http://www.southern.edu/~ashted
|
|
|