Togos <[EMAIL PROTECTED]> wrote:
> if you assign an integer to a PerlString, it's
> still a PerlString.

No more. I don't know, if its correct. But the behavior now seems more
natural to me:

  new P1, .PerlInt
  set P1, 42
  new P0, .PerlUndef
  assign P0, P1 # LHS is PerlInt now

The dest has to be morphed into the RHS type, IMHO.

> Personally, I would like "=" to mean 'set', and
> maybe "<-" do 'assign'.

That's a true alternative and with no problems WRT backward
compatibility.

leo

Reply via email to