| 1 | #!/usr/bin/env perl | ||
| 2 | # For testing next, next+ next-, step+, step-, and set different; | ||
| 3 | 1 | ▶ | sub p() { |
|
Subroutine
p: called CC=1 SCAR=0.0
| |||
| 4 | 1 | return 5; | |
| 5 | }; | ||
| 6 | |||
| 7 | # To have something to "step different" with. | ||
| 8 | 1 | my $x=1; my $y=2; | |
| 9 | 1 | $x=$y; $y = 4; $x += $y; | |
| 10 | 1 | $x=6; $y = p(); my $z = p(); | |
| 11 | |||
| 12 | # To have something to "step" with | ||
| 13 | 0 | $x = 8; | |
| 14 | 0 | $x += $y; | |
| 15 | 0 | $x += $z; | |
| 16 | 0 | $x += 5; | |
| 17 | 0 | $x -= 5; | |
| 18 | |||