Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Where/When is OO useful?

by sauoq (Abbot)
on Sep 10, 2002 at 19:42 UTC ( [id://196794]=note: print w/replies, xml ) Need Help??


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.";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://196794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-23 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found