--- Piers Cawley <[EMAIL PROTECTED]> wrote:
>     new P10, .PerlHash
>     new P1, .PerlString
>     set P1, "Bar"
>     new P2, .Key
>     set P2, P1

Oops! should be assign!

This is one of the reasons I think code like

  $P0 = new PerlString
  $P0 = "foo"

should be illegal. If people were forced to 'assign'
where assigning is what is intended, this kind of
error wouldn't come up as often. Saying set when you
mean assign is just sloppy. People really ought to
understand the difference *before* they start coding.

<rant about 'add' semantics goes here>



        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Reply via email to