Skip to content

Commit

Permalink
1.07 - logo update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timofey Potapov committed May 15, 2024
1 parent c98c97c commit 1e6bf4d
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 62 deletions.
13 changes: 13 additions & 0 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ my $class = Module::Build->subclass(
print "Building README\n";
system "pod2markdown lib/e.pm > README.md";
}
sub ACTION_install {
my ($s) = @_;
$s->SUPER::ACTION_install;
local @ARGV = (
"e",
"-q",
"head1=LOGO/Verbatim",
);
use App::Pod;
App::Pod->run;
}
},
);
$class->ACTION_readme();
Expand All @@ -38,6 +50,7 @@ my $builder = $class->new(
'Mojolicious' => '0',
'YAML::XS' => '0',
'Data::Printer' => '0',
'App::Pod' => '0.36',
},
add_to_cleanup => [ 'e-*', 'MANIFEST*.bak', 'README*', 'blib/' ],
meta_merge => {
Expand Down
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for e

=================
1.07 - 2024-05-15
=================

Updated logo.

=================
1.06 - 2024-05-14
=================
Expand Down
77 changes: 47 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
# LOGO

__ __ __
__ ______ / /__ ____ ______/ /_ ___ ____/ /
/ / / / __ \/ / _ \/ __ `/ ___/ __ \/ _ \/ __ /
/ /_/ / / / / / __/ /_/ (__ ) / / / __/ /_/ /
\__,_/_/ /_/_/\___/\__,_/____/_/ /_/\___/\__,_/
___====-_ _-====___
_--~~~#####// ' ` \\#####~~~--_
-~##########// ( ) \\##########~-_
-############// |\^^/| \\############-
_~############// (O||O) \\############~_
~#############(( \\// ))#############~
-###############\\ (oo) //###############-
-#################\\ / `' \ //#################-
-###################\\/ () \//###################-
_#/|##########/\######( (()) )######/\##########|\#_
|/ |#/\#/\#/\/ \#/\##| \()/ |##/\#/ \/\#/\#/\#| \|
` |/ V V ` V )|| |()| ||( V ' V /\ \| '
` ` ` ` / | |()| | \ ' '<||> '
( | |()| | )\ /|/
__\ |__|()|__| /__\______/|/
(vvv(vvvv)(vvvv)vvv)______|/
__ __ __
__ ______ / /__ ____ ______/ /_ ___ ____/ /
/ / / / __ \/ / _ \/ __ `/ ___/ __ \/ _ \/ __ /
/ /_/ / / / / / __/ /_/ (__ ) / / / __/ /_/ /
\__,_/_/ /_/_/\___/\__,_/____/_/ /_/\___/\__,_/

# NAME

e - Unleash the power of e!
e - beastmode unleashed

# SYNOPSIS

Convert a data structure to json:

perl -Me -e 'say j { a => [ 1..3] }'

Convert a data structure to yaml:

perl -Me -e 'say yml { a => [ 1..3] }'

Pretty print a data structure:

perl -Me -e 'p { a => [ 1..3] }'

Data dump a data structure:

perl -Me -e 'd { a => [ 1..3] }'

Devel::Peek dump a data structure:

perl -Me -e 'dd { a => [ 1..3] }'

Add a trace marker:

perl -Me -e 'sub f1 { trace } sub f2 { f1 } f2'
Expand Down Expand Up @@ -68,14 +65,34 @@ Invoke the Tiny::Prof:

perl -Me -e 'prof'

Convert a data structure to json:

perl -Me -e 'say j { a => [ 1..3] }'

Convert a data structure to yaml:

perl -Me -e 'say yml { a => [ 1..3] }'

Pretty print a data structure:

perl -Me -e 'p { a => [ 1..3] }'

Data dump a data structure:

perl -Me -e 'd { a => [ 1..3] }'

Devel::Peek dump a data structure:

perl -Me -e 'dd { a => [ 1..3] }'

# DESCRIPTION

This module imports many features that make
one-liners and script debugging much faster.

For performance, a simple 'use e' statement
will import nearly no other libraries thereby
making its startup impact quite low.
It has been optimized for performance to not
import all features right away:
thereby making its startup cost quite low.

# SUBROUTINES

Expand All @@ -91,7 +108,7 @@ of this issue:

## import

These keys will become sub names in the
These keys will become function inside of the
caller's namespace.

# AUTHOR
Expand Down
80 changes: 48 additions & 32 deletions lib/e.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@ package e;

=head1 LOGO
__ __ __
__ ______ / /__ ____ ______/ /_ ___ ____/ /
/ / / / __ \/ / _ \/ __ `/ ___/ __ \/ _ \/ __ /
/ /_/ / / / / / __/ /_/ (__ ) / / / __/ /_/ /
\__,_/_/ /_/_/\___/\__,_/____/_/ /_/\___/\__,_/
___====-_ _-====___
_--~~~#####// ' ` \\#####~~~--_
-~##########// ( ) \\##########~-_
-############// |\^^/| \\############-
_~############// (O||O) \\############~_
~#############(( \\// ))#############~
-###############\\ (oo) //###############-
-#################\\ / `' \ //#################-
-###################\\/ () \//###################-
_#/|##########/\######( (()) )######/\##########|\#_
|/ |#/\#/\#/\/ \#/\##| \()/ |##/\#/ \/\#/\#/\#| \|
` |/ V V ` V )|| |()| ||( V ' V /\ \| '
` ` ` ` / | |()| | \ ' '<||> '
( | |()| | )\ /|/
__\ |__|()|__| /__\______/|/
(vvv(vvvv)(vvvv)vvv)______|/
__ __ __
__ ______ / /__ ____ ______/ /_ ___ ____/ /
/ / / / __ \/ / _ \/ __ `/ ___/ __ \/ _ \/ __ /
/ /_/ / / / / / __/ /_/ (__ ) / / / __/ /_/ /
\__,_/_/ /_/_/\___/\__,_/____/_/ /_/\___/\__,_/
=cut

use 5.006;
Expand All @@ -16,34 +32,14 @@ use warnings;

=head1 NAME
e - Unleash the power of e!
e - beastmode unleashed
=cut

our $VERSION = '1.06';
our $VERSION = '1.07';

=head1 SYNOPSIS
Convert a data structure to json:
perl -Me -e 'say j { a => [ 1..3] }'
Convert a data structure to yaml:
perl -Me -e 'say yml { a => [ 1..3] }'
Pretty print a data structure:
perl -Me -e 'p { a => [ 1..3] }'
Data dump a data structure:
perl -Me -e 'd { a => [ 1..3] }'
Devel::Peek dump a data structure:
perl -Me -e 'dd { a => [ 1..3] }'
Add a trace marker:
perl -Me -e 'sub f1 { trace } sub f2 { f1 } f2'
Expand Down Expand Up @@ -80,14 +76,34 @@ Invoke the Tiny::Prof:
perl -Me -e 'prof'
Convert a data structure to json:
perl -Me -e 'say j { a => [ 1..3] }'
Convert a data structure to yaml:
perl -Me -e 'say yml { a => [ 1..3] }'
Pretty print a data structure:
perl -Me -e 'p { a => [ 1..3] }'
Data dump a data structure:
perl -Me -e 'd { a => [ 1..3] }'
Devel::Peek dump a data structure:
perl -Me -e 'dd { a => [ 1..3] }'
=head1 DESCRIPTION
This module imports many features that make
one-liners and script debugging much faster.
For performance, a simple 'use e' statement
will import nearly no other libraries thereby
making its startup impact quite low.
It has been optimized for performance to not
import all features right away:
thereby making its startup cost quite low.
=cut

Expand Down Expand Up @@ -122,7 +138,7 @@ sub monkey_patch {

=head2 import
These keys will become sub names in the
These keys will become function inside of the
caller's namespace.
=cut
Expand Down

0 comments on commit 1e6bf4d

Please sign in to comment.