⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
perl5
/
Devel
/
TypeTiny
/
View File Name :
Perl58Compat.pm
package Devel::TypeTiny::Perl58Compat; use 5.006; use strict; use warnings; our $AUTHORITY = 'cpan:TOBYINK'; our $VERSION = '1.012004'; $VERSION =~ tr/_//d; #### re doesn't provide is_regexp in Perl < 5.10 eval 'require re'; unless ( exists &re::is_regexp ) { require B; *re::is_regexp = sub { eval { B::svref_2object( $_[0] )->MAGIC->TYPE eq 'r' }; }; } #### Done! 5.8; __END__ =pod =encoding utf-8 =for stopwords pragmas =head1 NAME Devel::TypeTiny::Perl58Compat - shims to allow Type::Tiny to run on Perl 5.8.x =head1 STATUS This module is considered part of Type-Tiny's internals. It is not covered by the L
. =head1 DESCRIPTION This is not considered part of Type::Tiny's public API. Currently this module just has one job: it patches L
to provide a C
function, as this was only added in Perl 5.9.5. =head1 BUGS Please report any bugs to L
. =head1 AUTHOR Toby Inkster E
tobyink@cpan.orgE
. =head1 COPYRIGHT AND LICENCE This software is copyright (c) 2013-2014, 2017-2021 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. =head1 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.