ew - syntactic sugar for Mew oneliners
perl -Mew=Foo -e 'has bar => Str, default => "baz"; print Foo->new->bar' # loads an existing class and re-"opens" the package definition perl -Mew=+My::Class -e 'print __PACKAGE__->new->bar'
ew.pm is a simple source filter that adds package $name; use Mew; to the beginning of your script, intended for use on the command line via the -M option.
package $name; use Mew;
See Mew for support and contact information.
See Mew for authors.
See Mew for the copyright and license.
To install Mew, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mew
CPAN shell
perl -MCPAN -e shell install Mew
For more information on module installation, please visit the detailed CPAN module installation guide.