NAME
op - syntactic sugar to make mop one-liners easier
VERSION
0.03
SYNOPSIS
# Use mop on the fly
perl -Mop -e 'class Point { has $!x is ro = 0; has $!y is ro = 0; method display { print "$!x, $!y" } } my $x = Point->new(x => 5, y => 7); $x->display'
DESCRIPTION
op.pm is a simple wrapper around mop.pm that aliases its own import()
to mop->import
, allowing you to do perl -Mop
rather than perl -Mmop
.
It is recommended that you do not use
this in an actual file.
SEE ALSO
mop - A new object system for Perl 5
AUTHOR
Matthew Horsfall (alh) <wolfsage@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013-2014 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.