Skip to content

motemen/perl5-Print-Indented

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Print::Indented - Indent outputs indented as per source code indentation

SYNOPSIS

use Print::Indented;

print "foo\n"; # prints "foo"

{
    print "bar\n"; # prints "    bar";
}

DESCRIPTION

Print::Indented indents stdout/stderr outputs according to the source line indentation where print function called, ex. print, warn.

LICENSE

Copyright (C) motemen.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

motemen motemen@gmail.com

About

Outputs indented as per source code indentation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages