in reply to foreach gotcha!

This doesn't fit my experience, and I have plenty of experience. Can you reduce it down to a small reproducible test case? I'd bet the rent money on either something else going on (very likely) or a bug in Perl (very unlikely), but it's clearly not the way it should work, in my understanding.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: foreach gotcha!
by myocom (Deacon) on Sep 22, 2000 at 02:01 UTC

    Well heck, I'd bet the rent money on either "a bug in Perl" or "something else going on". Doesn't it have to come down to one of those two cases?

    require Salt::Grain;

      Why not both? =)

      use Salt::Grain; my $post = new Salt::Grain; $post->dose(LIBERAL);

      --
      $you = new YOU;
      honk() if $you->love(perl)