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


Manual Reference Pages  -  PPIX::REGEXP::UTIL (3)

.ds Aq ’

NAME

PPIx::Regexp::Util - Utility functions for PPIx::Regexp;

CONTENTS

SYNOPSIS



 use PPIx::Regexp::Util qw{ __instance };
     .
     .
     .
 __instance( $foo, Bar )
     or die $foo is not a Bar;



DESCRIPTION

This module contains utility functions for PPIx::Regexp which it is convenient to centralize.

The contents of this module are <B>privateB> to the PPIx::Regexp package. This documentation is provided for the author’s convenience only. Anything in this module is subject to change without notice. Caveat user.

This module exports nothing by default.

SUBROUTINES

This module can export the following subroutines:

    __instance



 __instance( $foo, Bar )
     and print $foo isa Bar, "\n";



This subroutine returns true if its first argument is an instance of the class specified by its second argument. Unlike UNIVERSAL::isa, the result is always false unless the first argument is a reference.

SEE ALSO

Params::Util, which I recommend, but in the case of PPIx::Regexp I did not want to introduce a dependency on an XS module when all I really wanted was the function of that module’s _INSTANCE() subroutine.

SUPPORT

Support is by the author. Please file bug reports at <http://rt.cpan.org>, or in electronic mail to the author.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2010-2014 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

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


perl v5.20.3 PPIX::REGEXP::UTIL (3) 2014-11-12

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