Hmmm. /me scratches head. Sorry if this is getting OT, but
earlier in this thread John M. Dlugosz pointed out that my original formulation,
my @ary = split (" ",$_) while (<DATA>)
doesn't work because
the magical assignment to $_ only happens in a regular while loop, not in a statement modifier.
And of course, he's quite correct. But why, then, does your version work? What's the difference?
Do I need to change my aftershave?Update:
Looks like that wasn't
the problem with my original formulation. Well, the problem's solved, for which again thanks. But I'd still be very interested to know why my version didn't work.
§ George Sherston