Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

syntax(3pm) [debian man page]

syntax(3pm)						User Contributed Perl Documentation					       syntax(3pm)

NAME
syntax - Activate syntax extensions VERSION
version 0.004 SYNOPSIS
# either use syntax 'foo'; # or use syntax foo => { ... }; # or use syntax qw( foo bar ), baz => { ... }; DESCRIPTION
This module activates community provided syntax extensions to Perl. You pass it a feature name, and optionally a scalar with arguments, and the dispatching system will load and install the extension in your package. The import arguments are parsed with Data::OptList. There are no standardised options. Please consult the documentation for the specific syntax feature to find out about possible configuration options. The passed in feature names are simply transformed: "function" becomes Syntax::Feature::Function and "foo_bar" would become "Syntax::Feature::FooBar". METHODS
import syntax->import( @spec ); This method will dispatch the syntax extension setup to the specified feature handlers for the calling package. import_into syntax->import_into( $into, @spec ); Same as "import", but performs the setup in $into instead of the calling package. unimport syntax->unimport( @features ); This method will trigger uninstallations of the @features from the calling package. unimport_from syntax->unimport_from( $from, @features ); Same as "unimport", but will uninstall the @features from $from. RECOMMENDED FEATURES
o Syntax::Feature::Function Activates functions with parameter signatures. SEE ALSO
Syntax::Feature::Function, Devel::Declare BUGS
Please report any bugs or feature requests to bug-syntax@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=syntax AUTHOR
Robert 'phaylon' Sedlacek <rs@474.at> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Robert 'phaylon' Sedlacek. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-18 syntax(3pm)

Check Out this Related Man Page

MooseX::Types::Base(3pm)				User Contributed Perl Documentation				  MooseX::Types::Base(3pm)

NAME
MooseX::Types::Base - Type library base class VERSION
version 0.41 DESCRIPTION
You normally won't need to interact with this class by yourself. It is merely a collection of functionality that type libraries need to interact with moose and the rest of the MooseX::Types module. METHODS
import Provides the import mechanism for your library. See "LIBRARY USAGE" in MooseX::Types for syntax details on this. get_type This returns a type from the library's store by its name. type_names Returns a list of all known types by their name. add_type Adds a new type to the library. has_type Returns true or false depending on if this library knows a type by that name. type_storage Returns the library's type storage hash reference. You shouldn't use this method directly unless you know what you are doing. It is not an internal method because overriding it makes virtual libraries very easy. registered_class_types Returns the class types registered within this library. Don't use directly. register_class_type Register a "class_type" for use in this library by class name. get_registered_class_type Get a "class_type" registered in this library by name. registered_role_types Returns the role types registered within this library. Don't use directly. register_role_type Register a "role_type" for use in this library by role name. get_registered_role_type Get a "role_type" registered in this library by role name. SEE ALSO
MooseX::Types::Moose LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself. AUTHOR
Robert "phaylon" Sedlacek <rs@474.at> COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Robert "phaylon" Sedlacek. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-12-21 MooseX::Types::Base(3pm)
Man Page