in reply to Changing -> to work within a string

Method calls don't work in a string because subroutines didn't work in a string in Perl4. Variable references that use arrow to dereference do work in a string because variable interpolation worked in Perl4. It makes sense when you have a sense of history, but confuses the newbies occasionally.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Changing -> to work within a string