http://qs1969.pair.com?node_id=302346


in reply to How's your Perl?

# 1: $[=1; @x = (10); # confirm it: print $x[0], ",", $x[1], "\n"; $x[1]=20; print $x[0], ",", $x[1], "\n"; $x[0]=30; print $x[0], ",", $x[1], "\n";

        $perlmonks{seattlejohn} = 'John Clyman';

Replies are listed 'Best First'.
Re: Re: How's your Perl?
by Juerd (Abbot) on Oct 27, 2003 at 07:40 UTC

    $[=1;

    Not quite what we had in mind, but a valid and creative solution ;)

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