in reply to Re^2: Stupid question about regex with string followed variable in replacement
in thread Stupid question about regex with string followed variable in replacement

You're welcome! =)

BTW it's not a stupid questions, many allowed (though exotic) variable names are only accessible if surrounded by curlies ...

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^3: Stupid question about regex with string followed variable in replacement

Replies are listed 'Best First'.
Re^4: Stupid question about regex with string followed variable in replacement
by Anonymous Monk on May 19, 2013 at 23:13 UTC

    And huge thanks for update! :)

    I was searching for something like that before asking my question and even after your answer without any useful results (most likely I just wrongly formulate my request).

      > (most likely I just wrongly formulate my request).

      Again, don't worry! =)

      After fruitless searching in perlvar and perlsyn I just did a googlesearch for perldoc variable curly braces name which led me to perldata

      As you can see I already needed to know the answer to find it quickly ...

      Cheers Rolf

      ( addicted to the Perl Programming Language)

      update

      Of course in hindsight perldata is the right place to look for variable syntax