| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>Some tests for Embperl</title> |
| 4 |
</head> |
| 5 |
|
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
[- use Cwd (); -] |
| 10 |
|
| 11 |
optDisableChdir:[+ $optDisableChdir +] <BR> |
| 12 |
optDisableFormData: [+ $optDisableFormData +] <BR> |
| 13 |
Script CWD: [+ $script = Cwd::fastcwd() +] <BR> |
| 14 |
Embperl CWD: [+ $ep = $HTML::Embperl::cwd +] <BR> |
| 15 |
|
| 16 |
Equal: [+ $script eq $ep?'Yes':'No' +]<BR> |
| 17 |
Diff CWD: [+ do { $script =~ /$ep/ ; ">$'<" } +]<BR> |
| 18 |
Test/html: [+ $script =~ /test(?:\/|\\)html$/?'yes':'no' +] |
| 19 |
|
| 20 |
[- @ks = sort keys %fdat -] |
| 21 |
|
| 22 |
<table> |
| 23 |
<tr> |
| 24 |
<td>[+ $ks[$row] +]</td><td>[+ $fdat{$ks[$row] || ''} +]</td> |
| 25 |
</tr> |
| 26 |
</table> |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
</body> |
| 31 |
</html> |