line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of autobox-Junctions |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2013 by Chris Weyl. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package autobox::Junctions; |
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RSRCHBOY'; |
12
|
|
|
|
|
|
|
# git description: 0.001-6-gcbe3e58 |
13
|
|
|
|
|
|
|
$autobox::Junctions::VERSION = '0.002'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: Autoboxified junction-style operators |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
12825
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
18
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
361
|
use parent 'autobox'; |
|
1
|
|
|
|
|
217
|
|
|
1
|
|
|
|
|
4
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub import { |
23
|
1
|
|
|
1
|
|
8
|
my $class = shift @_; |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
7
|
$class->SUPER::import( |
26
|
|
|
|
|
|
|
ARRAY => 'autobox::Junctions::ARRAY', |
27
|
|
|
|
|
|
|
@_, |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
package autobox::Junctions::ARRAY; |
33
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RSRCHBOY'; |
34
|
|
|
|
|
|
|
# git description: 0.001-6-gcbe3e58 |
35
|
|
|
|
|
|
|
$autobox::Junctions::ARRAY::VERSION = '0.002'; |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
5889
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
15
|
|
38
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
366
|
use Syntax::Keyword::Junction (); |
|
1
|
|
|
|
|
9855
|
|
|
1
|
|
|
|
|
84
|
|
41
|
|
|
|
|
|
|
|
42
|
2
|
|
|
2
|
|
393
|
sub all { Syntax::Keyword::Junction::all( @{ $_[0] }) } |
|
2
|
|
|
|
|
7
|
|
43
|
2
|
|
|
2
|
|
1369
|
sub any { Syntax::Keyword::Junction::any( @{ $_[0] }) } |
|
2
|
|
|
|
|
8
|
|
44
|
2
|
|
|
2
|
|
446
|
sub none { Syntax::Keyword::Junction::none(@{ $_[0] }) } |
|
2
|
|
|
|
|
7
|
|
45
|
2
|
|
|
2
|
|
387
|
sub one { Syntax::Keyword::Junction::one( @{ $_[0] }) } |
|
2
|
|
|
|
|
7
|
|
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
!!42; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
__END__ |