8bf30a55196918c76e7de9e371a624cef0474e2f
[kivitendo-erp.git] / SL / Dev / ALL.pm
1 package SL::Dev::ALL;
2
3 use strict;
4
5 use Exporter;
6 use SL::Dev::Part;
7 use SL::Dev::CustomerVendor;
8 use SL::Dev::Inventory;
9 use SL::Dev::Record;
10 use SL::Dev::Payment;
11 use SL::Dev::Shop;
12 use SL::Dev::TimeRecording;
13
14 sub import {
15   no strict "refs";
16   for (qw(Part CustomerVendor Inventory Record Payment Shop TimeRecording)) {
17     Exporter::export_to_level("SL::Dev::$_", 1, @_);
18   }
19 }
20
21
22 1;
23
24 __END__
25
26 =pod
27
28 =head1 NAME
29
30 SL::Dev::ALL: Dependency-only package for all SL::Dev::* modules
31
32 =head1 SYNOPSIS
33
34   use SL::Dev::ALL;
35
36 =head1 DESCRIPTION
37
38 This module depends on all modules in SL/Dev/*.pm for the convenience of being
39 able to write a simple C<use SL::Dev::ALL> and having everything loaded. This
40 is supposed to be used only for test cases or in the kivitendo console. Normal
41 modules should C<use> only the modules they actually need.
42
43 To automatically include it in the console, add a line in the client section of
44 the kivitendo.config, e.g.
45
46 [console]
47 autorun = require "bin/mozilla/common.pl";
48         = use SL::DB::Helper::ALL;
49         = use SL::Dev::ALL;
50
51 =head1 AUTHOR
52
53 G. Richardson E<lt>grichardson@kivitendo-premium.deE<gt>
54
55 =cut