in reply to Print out random words with HTML
Here-docs use "standard" double-quotish interpolation, so I don't see why
wouldn't work. Have you tried it?print <<EOM; <P> The random words can go anywhere... <br> random $array[ rand @array ] words $array2[ rand @array2 ] here <br> Footer text can go here!!! </P> EOM
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Print out random words with HTML
by Jesse Smith (Acolyte) on Oct 12, 2016 at 05:07 UTC | |
by Athanasius (Archbishop) on Oct 12, 2016 at 05:19 UTC |