> @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!
___
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
> "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
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
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
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
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
7 matches
Mail list logo