in reply to Re: remove multiple indexes from an array
in thread remove multiple indexes from an array

Hashes can be constructed from lists. In fact, that's what the following is doing:
my %hash = ( a => 1, b => 2, );
=> is just a comma that quotes the word just to its left, if it's unquoted. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re (tilly) 3: remove multiple indexes from an array
by tilly (Archbishop) on Jan 01, 2002 at 11:09 UTC
    Gotcha!

    Run the following from a file. Run it from an eval.

    use strict; my @strange = (explain => "this"); print @strange;
    Yes, this is a bug. Fixed in bleadperl. :-)