In article <[EMAIL PROTECTED]>, John W. Krahn wrote:

[...]

> Kevin and Rob,
> 
> perldoc -q "add or remove keys from a hash"
> 
> Found in /usr/lib/perl5/5.6.0/pod/perlfaq4.pod
>        What happens if I add or remove keys from a hash while
>        iterating over it?
> 
>        Don't do that. :-)
[..]
>        Either treasure up your changes and make them after the
>        iterator finishes, or use keys to fetch all the old keys
>        at once, and iterate over the list of keys.

Oops. (Back to the console, but in the morning.)

-- 
Kevin Pfeiffer
International University Bremen

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to