| 1 | package | ||
| 2 | JavaScript::Embedded::C::libPath; | ||
| 3 | 56 | ▶ | use File::Spec; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 56 | my $file = File::Spec->rel2abs(__FILE__); | |
| 5 | 56 | $file =~ m/(.*?)libPath\.pm/; | |
| 6 | 56 | our $dir = File::Spec->canonpath( $1 ); | |
| 7 | |||
| 8 | sub getPath { | ||
| 9 | 336 | ▶ | my $extra = shift; |
|
Subroutine
getPath: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 336 | return File::Spec->canonpath( $dir . '/' . $extra ); | |
| 11 | } | ||
| 12 | |||
| 13 | sub getFile { | ||
| 14 | 0 | ▶ | my $file = shift; |
|
Subroutine
getFile: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | $file = File::Spec->canonpath( $dir . '/' . $file ); | |
| 16 | } | ||
| 17 | |||
| 18 | 56 | 1; | |