source:
vendor/perl/5.8.8/t/run/switcha.t
| Last change on this file was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 127 bytes | |
| Line | |
|---|---|
| 1 | #!./perl -na |
| 2 | |
| 3 | BEGIN { |
| 4 | print "1..2\n"; |
| 5 | *ARGV = *DATA; |
| 6 | $i = 0; |
| 7 | } |
| 8 | print "$F[1] ",++$i,"\n"; |
| 9 | |
| 10 | __DATA__ |
| 11 | not ok |
| 12 | not ok 3 |
Note:
See TracBrowser
for help on using the repository browser.
