App-Nopaste
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/Nopaste/Command.pm view on Meta::CPAN
if ($self->paste && @{ $self->extra_argv }) {
die "You may not specify --paste and files simultaneously.\n";
}
if ($self->paste) {
use_module('Clipboard')->import;
return Clipboard->paste;
}
local @ARGV = @{ $self->extra_argv };
local $/;
return <>;
}
1;
__END__
=pod
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.442 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )