in reply to Re: Match within array
in thread Match within array

For instance, $i has the scalar value 13006, I'll bet.

Bet lost :-)

$ perl -wle 'my $i = (0..13005); print $i' Use of uninitialized value in range (or flip) at -e line 1. Use of uninitialized value in range (or flop) at -e line 1. 1

It's not evaluated as a list (of which the last element is taken), but rather as a flip flop that matches against $_ $..

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^3: Match within array
by RMGir (Prior) on Jul 07, 2010 at 11:39 UTC
    Gah, foiled by the scalar flip-flop again :)

    Mike