☰
Debian Codegraph
@
5.42.3-1
5.42.2-3
5.40.1-8
/
/
ext
/
XS-APItest
/
t
/
join_with_space.t
☽
☼
ext/XS-APItest/t/join_with_space.t
code
plain
raw
GPL-1+
or
Artistic
Copyright (C) 2002,2004 Tim Jenness, Christian Soeller, Hugo van der Sanden.; All Rights Reserved.; .; Copyright (C) 2009 Andrew Main (Zefram) <
[email protected]
>
debian/copyright
1
#!perl
2
3
use strict;
4
use warnings;
5
6
use Test::More tests => 1;
7
8
use XS::APItest qw(join_with_space);
9
10
sub foo { 'A' .. 'C' }
11
12
my $bar = 42;
13
my @baz = ('x', 'y');
14
15
my $str = join_with_space $bar, foo, @baz;
16
is $str, "42 A B C x y";