in reply to Re^3: Variable interpolation of object methods
in thread Variable interpolation of object methods

You can read an explanation of that secret operator in Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}.

  • Comment on Re^4: Variable interpolation of object methods

Replies are listed 'Best First'.
Re^5: Variable interpolation of object methods
by tod222 (Pilgrim) on Oct 31, 2010 at 16:00 UTC
    And read Juerd's reply in this thread listing alternatives that are more efficient and easier to read.
      If i'm not mistaken, the explanation given on the Perl idioms explained page is the same as the explanation i offered in my previous comment which I quite here
      are you creating a reference to this variable $gene->display_id and th +en deferencing it straight away with ${ }
      I'm double checking as I'm not very confident with perl