works for me: $fruit='strawberry'; $string="apple,$fruit,orange"; print "$string\n"; ====== apple,strawberry,orange And I copied your line " $string="apple,$fruit,orange"; " from the e-mail. The most likely problem is that you used single rather than double quotes in the program. Dennis At 12:28 1/30/98, Daniele Nencini wrote: >I'm little stopped in my perl scripting from a strange thing was happened > >Coming from an html form i would interpolate a value of this form with a >value contained into the script who receive the form's data. > >the steps : > >i read a text file containing some fruit names and a $fruit >($fruit is a text into the textfile) > >es : apple $fruit orange > > >then i need to print out this data so i put it into a variable > > $string="apple,$fruit,orange"; > >assigning value : "strawberry" to $fruit > $fruit="strawberry"; > > >if i do > print $string > the output (!) is apple $fruit orange.... >Why was not happen the interpolation , i want my strawberry!!!-) > >The instructions are simples , and i really have some problems to exit the >panic of the moment >HELP!! >Thanks >Daniele Nencini >ddd@dada.it > > >***** Want to unsubscribe from this list? ***** Send mail with body >"unsubscribe" to mac-perl-request@iis.ee.ethz.ch ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch