ojoBox.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
import
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ojoBox;
2  
3 require ojo;
4 require Mojo::Autobox;
5  
6 sub import {
7 Mojo::Autobox->import;
8 goto &ojo::import;
9 }
10  
11 1;
12  
13 =head1 NAME
14  
15 ojoBox - One-liners with the powers of ojo and Mojo::Autobox
16  
17 =head1 SYNOPSIS
18  
19 $ perl -MojoBox -E 'g("http://mojolicio.us")->dom->find("a")->each(sub{$_->{href}->url->host->b->say})'
20  
21 =head1 DESCRIPTION
22  
23 Enables L<Mojo::Autobox> and L<ojo> for use in one-liners.
24