avo has asked for the wisdom of the Perl Monks concerning the following question:
In other words, I would like the effect of $store = ' '. But for large multi-line text blocks. Any ideas are welcome. Thank you very much for your input.my $store = <<DATA; my $interpolated_var; DATA my $store = <<DATA; my $never_defined_in_main_program_var; DATA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: here-doc question
by davido (Cardinal) on Jan 17, 2009 at 07:37 UTC | |
by ikegami (Patriarch) on Jan 17, 2009 at 07:48 UTC | |
|
Re: heredoc interpolation
by BrowserUk (Patriarch) on Jan 17, 2009 at 10:13 UTC | |
|
Re: heredoc interpolation
by AnomalousMonk (Archbishop) on Jan 18, 2009 at 03:31 UTC |