1Dir::Manifest::Slurp(3)User Contributed Perl DocumentatioDnir::Manifest::Slurp(3)
2
3
4
6 Dir::Manifest::Slurp - utility functions for slurping .
7
9 version 0.6.1
10
12 my $new_string = as_lf($string)
13 Returns the string with all CRLF newlines converted to LF. See
14 <https://en.wikipedia.org/wiki/Newline> .
15
16 my $contents = slurp(path("foo.txt"), { lf => 1, })
17 Accepts a Path::Tiny object and an options hash reference.
18
19 UTF-8 after using as_lf .
20
21 my $contents = slurp(path("foo.txt"), { raw => 1, })
22 my $contents = slurp(path("foo.txt"), { })
23 UTF-8
24
26 Websites
27 The following websites have more information about this module, and may
28 be of help to you. As always, in addition to those websites please use
29 your favorite search engine to discover more resources.
30
31 • MetaCPAN
32
33 A modern, open-source CPAN search engine, useful to view POD in
34 HTML format.
35
36 <https://metacpan.org/release/Dir-Manifest>
37
38 • Search CPAN
39
40 The default CPAN search engine, useful to view POD in HTML format.
41
42 <http://search.cpan.org/dist/Dir-Manifest>
43
44 • RT: CPAN's Bug Tracker
45
46 The RT ( Request Tracker ) website is the default bug/issue
47 tracking system for CPAN.
48
49 <https://rt.cpan.org/Public/Dist/Display.html?Name=Dir-Manifest>
50
51 • CPAN Ratings
52
53 The CPAN Ratings is a website that allows community ratings and
54 reviews of Perl modules.
55
56 <http://cpanratings.perl.org/d/Dir-Manifest>
57
58 • CPANTS
59
60 The CPANTS is a website that analyzes the Kwalitee ( code metrics )
61 of a distribution.
62
63 <http://cpants.cpanauthors.org/dist/Dir-Manifest>
64
65 • CPAN Testers
66
67 The CPAN Testers is a network of smoke testers who run automated
68 tests on uploaded CPAN distributions.
69
70 <http://www.cpantesters.org/distro/D/Dir-Manifest>
71
72 • CPAN Testers Matrix
73
74 The CPAN Testers Matrix is a website that provides a visual
75 overview of the test results for a distribution on various
76 Perls/platforms.
77
78 <http://matrix.cpantesters.org/?dist=Dir-Manifest>
79
80 • CPAN Testers Dependencies
81
82 The CPAN Testers Dependencies is a website that shows a chart of
83 the test results of all dependencies for a distribution.
84
85 <http://deps.cpantesters.org/?module=Dir::Manifest>
86
87 Bugs / Feature Requests
88 Please report any bugs or feature requests by email to
89 "bug-dir-manifest at rt.cpan.org", or through the web interface at
90 <https://rt.cpan.org/Public/Bug/Report.html?Queue=Dir-Manifest>. You
91 will be automatically notified of any progress on the request by the
92 system.
93
94 Source Code
95 The code is open to the world, and available for you to hack on. Please
96 feel free to browse it and play with it, or whatever. If you want to
97 contribute patches, please send me a diff or prod me to pull from your
98 repository :)
99
100 <https://github.com/shlomif/Dir-Manifest>
101
102 git clone https://github.com/shlomif/Dir-Manifest.git
103
105 Shlomi Fish <shlomif@cpan.org>
106
108 Please report any bugs or feature requests on the bugtracker website
109 <https://github.com/shlomif/dir-manifest/issues>
110
111 When submitting a bug or request, please include a test-file or a patch
112 to an existing test-file that illustrates the bug or desired feature.
113
115 This software is Copyright (c) 2019 by Shlomi Fish.
116
117 This is free software, licensed under:
118
119 The MIT (X11) License
120
121
122
123perl v5.34.0 2021-07-22 Dir::Manifest::Slurp(3)