Re: [Boston.pm] Odd behaviour in foreach

2007-01-10 Thread Greg London
> @headers = ("header 1","header 2","header 3"); > @body = ("body A","body B","body C"); > foreach (@headers,"",@body) { >@body = (); >push @headers,"header ".$h++; > Ouch. Bad programmer. No biscuit! ___

Re: [Boston.pm] Odd behaviour in foreach

2007-01-10 Thread Dan Boger
On Wed, Jan 10, 2007 at 01:14:43PM -0500, Uri Guttman wrote: > > "DB" == Dan Boger <[EMAIL PROTECTED]> writes: > > DB> @headers = ("header 1","header 2","header 3"); > DB> @body = ("body A","body B","body C"); > DB> $h = 4; > DB> foreach (@headers,"",@body) { > > the list of

Re: [Boston.pm] Odd behaviour in foreach

2007-01-10 Thread Uri Guttman
> "DB" == Dan Boger <[EMAIL PROTECTED]> writes: DB> @headers = ("header 1","header 2","header 3"); DB> @body = ("body A","body B","body C"); DB> $h = 4; DB> foreach (@headers,"",@body) { the list of aliases is created there. it can't be changed by clearing @body. the aliases

Re: [Boston.pm] emma's pizza

2007-01-10 Thread Tolkin, Steve
Irish coffee contains all four required food groups: Sugar, fat, caffeine, and alcohol P.S. Obligatory comment about Perl -- the Chilean pianist Alfredo Perl has recorded all of Beethoven's sonatas, and much else, and I recommend them. Hopefully helpfully yours, Steve -- Steve Tolkin   

[Boston.pm] [job] Perl Developer, Watertown, MA

2007-01-10 Thread Ronald J Kimball
Perl Programmer/Developer Liaison International is a provider of information technology products and services to educational associations, accrediting agencies, and institutions of higher education, and is located in Watertown, MA. Job Description Liaison International is looking for someone

Re: [Boston.pm] emma's pizza

2007-01-10 Thread Philipp Hanes
I couldn't disagree more. Well, okay, I could, but I think you're underestimating the variety of kinds of enjoyment some people get from food. You're talking about "taste" in a very basic sense. Most foods provide a whole lot more than just stimulation to the sweet/salty taste buds. Texture (and

[Boston.pm] Odd behaviour in foreach

2007-01-10 Thread Dan Boger
I was talking to a friend about foreach aliasing the loop variable one by one through the list provided... As he was playing around with it, came across this: use Data::Dumper; @headers = ("header 1","header 2","header 3"); @body = ("body A","body B","body C"); $h = 4; foreach