http://qs321.pair.com?node_id=196794


in reply to Re: Where/When is OO useful?
in thread Where/When is OO useful?

delete $ERA {$self}, $Strikeouts {$self}

That won't work like you expect it to.

$ perl -le 'my(%one,%two);$one{k}=1;$two{k}=2;delete $one{k}, $two{k}; + print "one exists" if exists $one{k};print "two exists" if exists $t +wo{k}' two exists

Nice technique though.

-sauoq
"My two cents aren't worth a dime.";