MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

[wish list]: perl stuff




<ONE>

It would be cool to have some of the anti-statements of Perl, such as
"unless" (if-not), and "until" (while-not), because '!' just looks real ugly
beside some things.

<TWO>

It'd also be nice to have the...

        "blah" if (foo);

thing, so people who don't wanna use three lines of code on...

        if (foo)
          "blah";
        endif

Can do something besides...

        foo && ("blah");

<A-ONE TWO THREE FOUR!>

Somewhat Perly.  The ability to reference '[a..b]' as if it were an
inclusive list of all integers 'a' through 'b'.  Like...

        if (foo in [5..8])

Rather than...

        if ((foo > 4) && (foo < 9))

<SPEAKING OF WHICH...>

I'd also like this...

        "bar" in "foobarbaz"

To be the same as...

        index("foobarbaz", "bar");

I suppose that could break some ruthlessly !d verbs which use "in" both to
check for type LIST and for membership, though.

<UM...>

That's all for now.  Just more cosmetic suggestions from Quinn.  Oh, and
remember real comments.  Real comments would rock.  Real comments RULE.  /*
ROCK AND RULE!! */

-Quinn
-http://www.bga.com/~quinn/






Follow-Ups:

Home | Subject Index | Thread Index