in reply to (redmist) RE: RE: (redmist) RE: Welcome baby @ISA...
in thread Welcome baby @ISA...

Actually, by "that", I meant $1.

Bob: Hey, $0.
...etc...

Therefore, when Bob runs his line and interpolates $0, he will end up saying "Hey, Bob."

  • Comment on RE: (redmist) RE: RE: (redmist) RE: Welcome baby @ISA...

Replies are listed 'Best First'.
(redmist) RE: RE: (redmist) RE: RE: (redmist) RE: Welcome baby @ISA...
by redmist (Deacon) on Nov 01, 2000 at 04:10 UTC

      Right, so if you name your child '$0' (note the non-interpolating quotes), when other people try to refer to him/her, they'll force interpolation.

      $Bob->Salutation($0);
      Bob: Hey, Bob.
      $0 : Why are you talking to yourself...?

      ...and this may very well be the geekiest conversation I've ever had. ++ for that! :-)

        "Right, so if you name your child '$0' (note the non-interpolating quotes), when other people try to refer to him/her, they'll force interpolation."

        Wait, don't single quotes force the variable to not be interpolated? (My question is this: Why does Bob mentioning the name of my kid force interpolation?)

        redmist
        redmist.dyndns.org
        email::redmist