GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Scalar::Does::MooseTypes(3) User Contributed Perl Documentation Scalar::Does::MooseTypes(3)

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

  use 5.010;
  use Scalar::Does qw(does);
  use Scalar::Does::MooseTypes -all;
  
  my $var = [];
  if (does $var, ArrayRef) {
    say "It's an arrayref!";
  }

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!";
  }

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

Types::Standard.

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

Toby Inkster <tobyink@cpan.org>.

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.

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.
2017-01-31 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.