in reply to Re^8: Is $^M a leftover April Fool?
in thread Is $^M a leftover April Fool?

How many scripts use the dbmopen function? You can point to at least half the features in Perl and realize that less than 1% of all scripts in existence directly use that code. In many cases, probably much less than that.

Granted, $^M is a very obscure and esoteric feature, but so is dbmopen ...

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Replies are listed 'Best First'.
Re^10: Is $^M a leftover April Fool?
by BrowserUk (Patriarch) on Jan 07, 2005 at 13:56 UTC

    This is all getting way academic now, but if your estimate of those that use dbmopen is anything like correct, that's 1 in 100.

    Whereas if my guesses for $^M are anything like correct, we are talking 1 in 100,000 to 1 in 100,000,000.

    Even if every programmer added a $^M reserve to every script they ever wrote, your still only looking at 1 in 10,000 to 1 in 10,000,000.

    Another difference is that dbmopen has been superceded. Before tie and all modules that use it became available, I think dbmopen was probably a lot more used. If you count the number of programs that use some form of tie, or tie-based module, your 1% is probably an under-estimate. Tie::File alone could probably manage 1%.

    Nothing has superceded $^M.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.