Exporter::Tiny::Manual::Etc - Online Linux Manual PageSection : 3
Updated : 2021-01-27
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEExporter::Tiny::Manual::Etc − odds and ends

DESCRIPTION

Utility FunctionsExporter::Tiny is itself an exporter! These functions are really for internal use, but can be exported if you need them: mkopt(\@array) Similar to mkopt from Data::OptList. It doesn't support all the fancy options that Data::OptList does (moniker, require_unique, ​must_be and name_test) but runs about 50% faster. mkopt_hash(\@array) Similar to mkopt_hash from Data::OptList. See also mkopt.

HistoryType::Library had a bunch of custom exporting code which poked coderefs into its caller's stash. It needed this to be something more powerful than most exporters so that it could switch between exporting Moose, Mouse and Moo-compatible objects on request. Sub::Exporter would have been capable, but had too many dependencies for the Type::Tiny project. Meanwhile Type::Utils, Types::TypeTiny and Test::TypeTiny each used the venerable Exporter.pm. However, this meant they were unable to use the features like Sub::Exporter−style function renaming which I'd built into Type::Library: ​ ## import "Str" but rename it to "String". ​ use Types::Standard "Str" => { −as => "String" }; And so I decided to factor out code that could be shared by all Type-Tiny's exporters into a single place: Exporter::TypeTiny. As of version 0.026, Exporter::TypeTiny was also made available as Exporter::Tiny, distributed independently on CPAN. CHOCOLATEBOY had convinced me that it was mature enough to live a life of its own. As of version 0.030, Type-Tiny depends on Exporter::Tiny and Exporter::TypeTiny is being phased out.

Obligatory Exporter ComparisonExporting is unlikely to be your application's performance bottleneck, but nonetheless here are some comparisons. Comparative sizes according to Devel::SizeMe: ​ Exporter 217.1Kb ​ Sub::Exporter::Progressive 263.2Kb ​ Exporter::Tiny 267.7Kb ​ Exporter + Exporter::Heavy 281.5Kb ​ Exporter::Renaming 406.2Kb ​ Sub::Exporter 701.0Kb Performance exporting a single sub: ​ Rate SubExp ExpTiny SubExpProg ExpPM ​SubExp 2489/s −− −56% −85% −88% ​ExpTiny 5635/s 126% −− −67% −72% ​SubExpProg 16905/s 579% 200% −− −16% ​ExpPM 20097/s 707% 257% 19% −− (Exporter::Renaming globally changes the behaviour of Exporter.pm, so could not be included in the same benchmarks.) (Non-Core) Dependencies: ​ Exporter −1 ​ Exporter::Renaming 0 ​ Exporter::Tiny 0 ​ Sub::Exporter::Progressive 0 ​ Sub::Exporter 3 Features: ​ ExpPM ExpTiny SubExp SubExpProg ​ Can export code symbols............. Yes Yes Yes Yes ​ Can export non−code symbols......... Yes Yes ​ Groups/tags......................... Yes Yes Yes Yes ​ Export by regexp.................... Yes Yes ​ Bang prefix......................... Yes Yes ​ Allows renaming of subs............. Yes Yes Maybe ​ Install code into scalar refs....... Yes Yes Maybe ​ Can be passed an "into" parameter... Yes Yes Maybe ​ Can be passed an "installer" sub.... Yes Yes Maybe ​ Config avoids package variables..... Yes ​ Supports generators................. Yes Yes ​ Sane API for generators............. Yes Yes ​ Unimport............................ Yes (Certain Sub::Exporter::Progressive features are only available if Sub::Exporter is installed.)

SEE ALSOExporter::Shiny, Exporter::Tiny.

AUTHORToby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCEThis software is copyright (c) 2013−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 WARRANTIESTHIS 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.
0
Johanes Gumabo
Data Size   :   12,697 byte
man-Exporter::Tiny::Manual::Etc.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 191,869
Visitor ID   :     :  
Visitor IP   :   18.221.240.14   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Exporter::Tiny::Manual::Etc.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Exporter::Tiny::Manual::Etc.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Exporter::Tiny::Manual::Etc.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Exporter::Tiny::Manual::Etc.3pm|43|'br══─}─══ |'br══─}─══ )