The 'delete' remove  a reference to the 'file' hash.
If you have other reference that reference to the 'file' hash,
that hash should still exits. If no other reference, then the hash
will be gone.

-ted zeng

Hudson T Clark wrote:

> Ok I don't know if I'm right or not, but if I have a has of hashes say
>
> $hash{'file'}{'doc'}
> $hash{'file'}{'filename'}
>
> Now if I did a
>
> delete $hash{'file'}
>
> That would delete both
>
> $hash{'file'}{'doc'}
> $hash{'file'}{'filename'}
>
> Correct?
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to