On 7/13/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:

    Modification of a read-only value attempted at foo line 2.

Yeah, I get that a lot and I have to burn another variable to get around it;


    for( @{[ qw( 1 2 3 ) ]} ) {
        $_ = $_ * $_; # contrived

Now this is good, less vars and IMHO better "readable* code.

Thx =)
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/

Reply via email to