On Thu, Jun 28, 2001 at 04:42:08PM +0800, Rajeev Rumale wrote:
> Hi
>
> I need to assign a long multiline string value to a scalar.
>
> I would like to know a way where i can assing a string value to a scalar
> with inserting the escape char(\). something similar to what we do with
> print
>
> print << "label";
> ........
> .<title> $title.</title>.
> ......
> label
How about
my $var = << "label";
........
.<title> $title.</title>.
......
label
:-)
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net