line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::VirtPerl; |
2
|
|
|
|
|
|
|
$App::VirtPerl::VERSION = '0.1'; |
3
|
1
|
|
|
1
|
|
13051
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
18
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
399
|
use App::cpanminus; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
App::VirtPerl - Lightweight Perl Environments |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
version 0.1 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
$ setup-virtperl |
19
|
|
|
|
|
|
|
$ . ~/.virtperl/virtperl.sh |
20
|
|
|
|
|
|
|
$ virtperl create project1 |
21
|
|
|
|
|
|
|
$ virtperl use project1 |
22
|
|
|
|
|
|
|
$ cpanm Moose |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
C is a quick and simple way to have multiple sets of cpan modules |
27
|
|
|
|
|
|
|
install with a single perl. It is similar to C's lib feature, but |
28
|
|
|
|
|
|
|
does not require building a new perl and it tries harder to ensure that each |
29
|
|
|
|
|
|
|
enviroment starts with a clean slate. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 TODO |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Tests. |
34
|
|
|
|
|
|
|
Documentation. |
35
|
|
|
|
|
|
|
Only bash is supported at the moment. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHORS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Chris Reinhardt |
40
|
|
|
|
|
|
|
crein@cpan.org |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 COPYRIGHT |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This program is free software; you can redistribute |
45
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The full text of the license can be found in the |
48
|
|
|
|
|
|
|
LICENSE file included with this module. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 SEE ALSO |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
L, L, L, virtualenv, perl(1) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
1; |
57
|
|
|
|
|
|
|
__END__ |