Package::Transporter::Generator::Potential::Anonymous - Minimal generator for anonymous subroutines


Package-Transporter documentation  | view source Contained in the Package-Transporter distribution.

Index


NAME

Top

Package::Transporter::Generator::Potential::Anonymous - Minimal generator for anonymous subroutines

SYNOPSIS

Top

	use Package::Transporter sub{eval shift}, sub {
	        my $yn = q{
	                return(q{print STDOUT ($_[0] ? 'Yes' : 'No'), "\n";});
	        };
	        $_[0]->register_potential($yn, 'FOR_ANY', 'yn');
	};

DESCRIPTION

Top

The implementation is the given subroutine reference.

ANYTHING ELSE

Top

Please see the documentation of the upstream package Package::Transporter.


Package-Transporter documentation  | view source Contained in the Package-Transporter distribution.