>>>>> "JP" == John Porter <jdporter@min.net> writes: JP> @a = (undef) x 5; # any value; it will get overwritten. JP> for ( @a ) { JP> @$_ = (....); JP> } JP> Now, as for the loop problem: why is the semantics of for as JP> a statement modifier so different from the normal for? i still don't get what you expect @$_ to be? explain it in english if you can. it looks like a symref. if it is meant to be an array ref then you should initialize @a with ([]) x 5. and i don't think there is any difference in the semantics of a for loop vs. statement modifier in this case. you just never had a proper array ref in $_. and your comment about any value will be overwritten makes no sense either. it has to be array refs for @$_ to have any meaning other than symref. sorry to keep trashing you john, but you are really missing the target on this one. just loop with 0 .. 4 and build the whole damn thing instead of having something built half assed. uri BTW why does this list seem very slow? my posts seem to take a long time to get back to me. is it a slow fetchmail pol cycle or a slow mail host? -- Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering uri@sysarch.com --------------------------- Perl, Internet, UNIX Consulting Have Perl, Will Travel ----------------------------- http://www.sysarch.com The Best Search Engine on the Net ------------- http://www.northernlight.com "F**king Windows 98", said the general in South Park before shooting Bill. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe