-
-
30 Aug 2019 08:12:04 UTC
- Distribution: Devel-PerlySense
- Module version: 0.0221
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (6)
- Testers (86 / 100 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (433.75KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- App::Ack
- Cache::Cache
- Cache::FileCache
- Carp
- Cwd
- Data::Dumper
- Digest::SHA
- Exporter
- File::Basename
- File::Find
- File::Find::Rule
- File::Path
- File::Slurp
- File::Spec::Functions
- File::chdir
- Getopt::Long
- Graph::Easy
- HTTP::Date
- IO::String
- List::AllUtils
- List::MoreUtils
- List::Util
- Module::Pluggable
- Module::Runtime
- Moo
- POSIX
- PPI
- PPI::Document
- PPI::Dumper
- Params::Util
- Path::Class
- Path::Tiny
- Perl::Critic
- Perl::Tidy
- Pod::Text
- Pod::Usage
- Spiffy
- Storable
- Sub::Exporter
- Text::Table
- Time::HiRes
- Tree::Parser
- YAML::Tiny
- base
- lib
- strict
- utf8
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Devel::PerlySense::Util - Utility routines
ROUTINES
aNamedArg($raParam, @aArg)
Return list of argument valies in $rhArg for the param names in $raParam.
Die on missing arguments.
slurp($file)
Read the contents of $file and return it, or undef if the file couldn't be opened.
spew($file, $text)
Crete a new $file a and print $text to it.
Return 1 on success, else 0.
filePathNormalize($file)
Return the normalized path of $file, i.e. with "dir/dir2/../dir3" becoming "dir/dir3".
The path doesn't have to exist.
textRenderTemplate($template, $rhParam)
Replace the keys in $rhParam with the values in $rhParam, for everything in $template that looks like
${KEY_NAME}
Return the rendered template.
AUTHOR
Johan Lindstrom,
<johanl@cpan.org>
BUGS
Please report any bugs or feature requests to
bug-devel-perlysense@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Devel-PerlySense. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2005 Johan Lindstrom, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Devel::PerlySense, copy and paste the appropriate command in to your terminal.
cpanm Devel::PerlySense
perl -MCPAN -e shell install Devel::PerlySense
For more information on module installation, please visit the detailed CPAN module installation guide.