| 1 | package Lab::Moose::Catfile; | ||||||||||
| 2 | 27 | $Lab::Moose::Catfile::VERSION = '3.931'; | |||||||||
| 3 | 27 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 27 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | # ABSTRACT: Export custom catfile which avoids backslashes | ||||||||||
| 7 | |||||||||||
| 8 | # PDL::Graphics::Gnuplot <= 2.011 cannot handle backslashes on windows. | ||||||||||
| 9 | |||||||||||
| 10 | |||||||||||
| 11 | 27 | our @ISA = qw(Exporter); | |||||||||
| 12 | 27 | our @EXPORT = qw/our_catfile/; | |||||||||
| 13 | |||||||||||
| 14 | 380 | ▶ | sub our_catfile { | ||||||||
|
Subroutine
our_catfile: called CC=2 SCAR=8.1
Pod
undocumented
| |||||||||||
| 15 | 380 | ▶ | if ( @_ == 0 ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 0 | return; | |||||||||
| 17 | } | ||||||||||
| 18 | 380 | return join( '/', @_ ); | |||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | 27 | 1; | |||||||||
| 22 | |||||||||||
| 23 | __END__ | ||||||||||