| 1 | #!/usr/bin/env perl | ||
| 2 | |||
| 3 | 48 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 48 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 48 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 48 | ▶ | use Punk::Command; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | # Everything - the registry, the dispatcher, option parsing, generated help - | ||
| 9 | # lives in Punk::Command, where it is testable in-process. The version this | ||
| 10 | # prints is $Punk::VERSION and nothing else, so it cannot skew. | ||
| 11 | |||
| 12 | 48 | exit Punk::Command->main(@ARGV); | |
| 13 | |||
| 14 | __END__ | ||