in reply to Re^2: printing a string from an sql field that contains a variable
in thread printing a string from an sql field that contains a variable

Do you have this line at the start of your code?

use String::Interpolate::RE qw( strinterp );
~~David~~
  • Comment on Re^3: printing a string from an sql field that contains a variable
  • Download Code

Replies are listed 'Best First'.
Re^4: printing a string from an sql field that contains a variable
by Anonymous Monk on Jun 28, 2011 at 14:40 UTC

    I do now... thanks :)

    Unfortunately, this has not changed the output I am getting, it still just prints out $me , $friend, etc.

    Do I need to make a hash named "%var" and put all the scalars in there as keys and values, then update that hash every time I update the scalar?

      Unfortunately, this has not changed the output I am getting,...

      Did you even look at the doumentation?

        Yes, but I have only just started learning perl this week