Gunnar Hjalmarsson wrote:
Suppose the fact that it doesn't contain the values from the last
line proves that my theory is not the whole truth...

OTOH, you can study the impact of my() through these examples:

    my @array;
    for (1..3) {
        push @array, $_;
        print "@array\n";
    }

Outputs:
1
1 2
1 2 3

    for (1..3) {
        push my (@array), $_;
        print "@array\n";
    }

Outputs:
1
2
3

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to