Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Scalar::Does::MooseTypUser)Contributed Perl DocumenScalar::Does::MooseTypes(3)

NAME
       Scalar::Does::MooseTypes	- (DEPRECATED) additional constants for
       Scalar::Does, inspired by the built-in Moose type constraints

SYNOPSIS
	 use 5.010;
	 use Scalar::Does qw(does);
	 use Scalar::Does::MooseTypes -all;

	 my $var = [];
	 if (does $var,	ArrayRef) {
	   say "It's an	arrayref!";
	 }

STATUS
       This module is deprecated; use Types::Standard instead:

	 use 5.010;
	 use Scalar::Does qw(does);
	 use Types::Standard qw(ArrayRef);

	 my $var = [];
	 if (does $var,	ArrayRef) {
	   say "It's an	arrayref!";
	 }

DESCRIPTION
   Constants
       "Any"
       "Item"
       "Bool"
       "Undef"
       "Defined"
       "Value"
       "Str"
       "Num"
       "Int"
       "ClassName"
       "RoleName"
       "Ref"
       "ScalarRef"
       "ArrayRef"
       "HashRef"
       "CodeRef"
       "RegexpRef"
       "GlobRef"
       "FileHandle"
       "Object"

SEE ALSO
       Types::Standard.

       Scalar::Does, Moose::Util::TypeConstraints.

AUTHOR
       Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE
       This software is	copyright (c) 2012-2014, 2017 by Toby Inkster.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

DISCLAIMER OF WARRANTIES
       THIS PACKAGE IS PROVIDED	"AS IS"	AND WITHOUT ANY	EXPRESS	OR IMPLIED
       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

perl v5.32.1			  2017-01-31	   Scalar::Does::MooseTypes(3)

NAME | SYNOPSIS | STATUS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENCE | DISCLAIMER OF WARRANTIES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Scalar::Does::MooseTypes&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help