The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ew - syntactic sugar for Mew oneliners

SYNOPSIS

  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'

DESCRIPTION

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.

SUPPORT

See Mew for support and contact information.

AUTHORS

See Mew for authors.

COPYRIGHT AND LICENSE

See Mew for the copyright and license.