eg/forms/pages/loop.htm
raw| 1 | |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Embperl Examples - Loop Metacommands</title> |
| 5 | </head> |
| 6 | <body> |
| 7 | |
| 8 | <h1>Embperl Examples - Loop Metacommands</h1> |
| 9 | <hr><h3>This is a example of using the while metacommand in embperl to show the environment</h3> |
| 10 | |
| 11 | [$ while ($k, $v) = each (%ENV) $] |
| 12 | [+ $k +] = [+ $v +] <BR> |
| 13 | [$ endwhile $] |
| 14 | |
| 15 | |
| 16 | <p><hr> |
| 17 | |
| 18 | <small>HTML::Embperl (c) 1997-1998 G.Richter</small> |
| 19 | |
| 20 | </body> |
| 21 | </html> |