« lib/Perl/ToPerl6/Transformer/Builtins/Rename.pm
↑ Summary
lib/Perl/ToPerl6/Transformer/Builtins/AddWhitespace.pm »
| 1 | #!/usr/local/bin/perl | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | package main; | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | 1 | ▶ | use 5.006001; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 6 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 7 | 1 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | 1 | ▶ | use Perl::ToPerl6::Command qw< run >; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | #----------------------------------------------------------------------------- | ||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 1 | our $VERSION = '0.040'; | |||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||
| 15 | #----------------------------------------------------------------------------- | ||||||||||||||||||||||||||||
| 16 | # Begin program. Don't run when loaded as a library | ||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||
| 18 | # This %ENV check is to allow perlmogrify to function when bundled under PAR, | ||||||||||||||||||||||||||||
| 19 | # which invokes this program not as the top stack frame. -- rjbs, 2008-08-11 | ||||||||||||||||||||||||||||
| 20 | 1 | ▶ | exit run() if not caller or $ENV{PAR_0}; | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not caller or $ENV{"PAR_0"}
MC/DC0%0/2
not caller or $ENV{"PAR_0"}
not caller
$ENV{"PAR_0"}
Truth table33%1/3
not(A) or B
A= not callerB= $ENV{"PAR_0"}
| |||||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||
| 22 | #----------------------------------------------------------------------------- | ||||||||||||||||||||||||||||
| 23 | 1 | 1; | |||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||
| 25 | __END__ | ||||||||||||||||||||||||||||