Re: Appending constant string to variable inside a here-document

2005-03-08 Thread David Storrs
On Sun, Mar 06, 2005 at 11:21:23PM -0600, Charles K. Clarkson wrote: > Harold Castro wrote: > : if the current content of $word is the word "big", and > : I would want to print a here document appending > : something to "big" like "foot": > : > : print < : > : $word."f

RE: Appending constant string to variable inside a here-document

2005-03-06 Thread Charles K. Clarkson
Harold Castro wrote: : I'm trying to loop into printing a series of lines so : I used here document. Substitution of variables, e.g., : $_ works inside the HERE-Document but appending a : string won't work : : For example: : : if the current content of $word is the wor

Appending constant string to variable inside a here-document

2005-03-06 Thread Harold Castro
Hi, I'm trying to loop into printing a series of lines so I used here document. Substitution of variables, e.g., $_ works inside the HERE-Document but appending a string won't work For example: if the current content of $word is the word "big", and I would want to print a here document appending