if someone can tell me in how to use delete in a void context, that would also be helpful.Void context means you are not asking for any return values:
Update: 'array' context should be 'list' context (thanks ikegami.)delete $Registry->{$key}; # void context $res = delete $Registry->{$key}; # scalar context if (delete $Registry->{$key}) { ... } # also scalar context @results = delete $Registry->{$key}; # list context
In reply to Re: TieRegistry FastDelete problem
by pc88mxer
in thread TieRegistry FastDelete problem
by anadem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |