edimusrex has asked for the wisdom of the Perl Monks concerning the following question:
foreach(@existing_array) { push @new_array, "<li>$_</li>"; } my $html = <<EOF; <html> <body> <ul>@new_array</ul> </body> <html> EOF
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Joining an array within a text block
by toolic (Bishop) on May 18, 2015 at 16:07 UTC | |
|
Re: Joining an array within a text block
by choroba (Cardinal) on May 18, 2015 at 16:10 UTC | |
|
Re: Joining an array within a text block
by edimusrex (Monk) on May 18, 2015 at 16:54 UTC | |
|
Re: Joining an array within a text block
by Laurent_R (Canon) on May 18, 2015 at 16:57 UTC | |
|
Re: Joining an array within a text block
by edimusrex (Monk) on May 18, 2015 at 16:12 UTC |