This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: XP is just a number
by sauoq (Abbot) on Oct 19, 2005 at 01:12 UTC

    XI, XV, XX, XL, XC, XD, and XM are numbers but XP isn't.

    -sauoq
    "My two cents aren't worth a dime.";
    

      XI, XV, XX, XL, XC, XD, and XM are numbers but XP isn't.

      IIRC, XD and XM are wrong and should be CDXC and CMXC instead.

      Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

        IIRC, XD and XM are wrong and should be CDXC and CMXC instead.

        I was wondering how long it would take...

        It's debatable and I don't much feel like debating it. It's hard to say what's "right" and "wrong" here because it's not like there was ever an accepted standard of use; just convention. I think there are examples of both in ancient usage but you'll probably be able to make a stronger case denying XD than XM.

        And, while I'm revisiting the subject, I'm surprised no one has so far mentioned that I've forgotten XM...

        -sauoq
        "My two cents aren't worth a dime.";
        
Re: XP is just a number
by Fletch (Bishop) on Oct 18, 2005 at 16:04 UTC

    Woah.</Keanu>

    Update: Forgot the ObSimpsons:

    Hmm. Your ideas are intriguing to me and I wish to subscribe to your newsletter.
      Hi

      Any negative comment on PM will get downvoted ( through experience ) , so XP is a number since you created a node with "XP" as the letters and it is bringing your points/numbers down.

      Regards

      Prad

Re: XP is just a number
by phaylon (Curate) on Oct 18, 2005 at 16:16 UTC
    Well, then I don't want to know how you're validating numbers from user input.

    ;)

    Ordinary morality is for ordinary people. -- Aleister Crowley
Re: XP is just a number
by Juerd (Abbot) on Oct 18, 2005 at 19:09 UTC

    No, it's not! :)

      Yeah... I'd rather not have my death-date moved forward or back based on the opinions of others.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

        It could be worse:
        People who will die on this date also...

        Me too... I'd have wound up dying several years before I was born, in that case...

Re: XP is just a number
by inman (Curate) on Oct 19, 2005 at 08:22 UTC
    Although strictly speaking time is relative (well according to Einstein) so even if the exact instant of your death was pre-determined, the numerical quantification of that instant depends on the observer.
How Wrong You Are
by mojotoad (Monsignor) on Oct 19, 2005 at 21:52 UTC
    #!/usr/bin/perl use strict; use warnings; use Scalar::Util; my $str = 'XP'; print "$str does", Scalar::Util::looks_like_number($str) ? '' : ' not', " look like a number.\n";
    yields:
    $ ./bs.pl XP does not look like a number.
    Tsk, tsk.
    Matt
Re: XP is just a number
by pajout (Curate) on Oct 19, 2005 at 07:31 UTC
    Of course, and life is illusion only...
Re: XP is just a number
by xorl (Deacon) on Oct 19, 2005 at 14:52 UTC

    If you count like MS XP is just a number ...

    Win1
    Win2
    Win3.1
    Win95
    Win98
    WinME
    Win2000
    WinXP
    Win2003

    That's just off the top of my head, I'm sure I missed some other MS numbers.

      Don't forget Bob.

      WinCE and Win95 to boot. Or is it dual boot? :) A list.

        I always thought it was hilarious that Microsoft decided to name one of its OS versions WinCE. They all made me wince, though -- not just that one. Well, that, or cringe.

        print substr("Just another Perl hacker", 0, -2);
        - apotheon
        CopyWrite Chad Perrin