G
~greg
problem is something like this:
var $WIDTH = 10;
print OUT <<__;
....
width: $WIDTHpx;
....
__
to print
....
width: 10px
....
What can be insert between the "$WIDTH" and the "px to make this work?
(don't want to break up the here-doc.
Thought of using $X = "" but that obviously doesn't work.
If there is a special variable (like $_)
that's == "", that might work.)
var $WIDTH = 10;
print OUT <<__;
....
width: $WIDTHpx;
....
__
to print
....
width: 10px
....
What can be insert between the "$WIDTH" and the "px to make this work?
(don't want to break up the here-doc.
Thought of using $X = "" but that obviously doesn't work.
If there is a special variable (like $_)
that's == "", that might work.)