![]() |
![]()
| ![]() |
![]()
NAMEDevel::PatchPerl::Hints - replacement 'hints' files VERSIONversion 2.08 SYNOPSISuse Devel::PatchPerl::Hints; if ( my $content = Devel::PatchPerl::Hints->hint_file() ) { chmod 0644, 'hints/netbsd.sh' or die "$!"; open my $hints, '>', 'hints/netbsd.sh' or die "$!"; print $hints $content; close $hints; } # Get a list of OS for which we have hints my @os = Devel::PatchPerl::Hints->hints(); DESCRIPTIONSometimes there is a problem with Perls "hints" file for a particular perl port. This module provides fixed "hints" files encoded using "MIME::Base64". FUNCTIONThe function is exported, but has to implicitly imported into the requesting package. use Devel::PatchPerl::Hints qw[hint_file]; It may also be called as a class method: use Devel::PatchPerl::Hints; my $content = Devel::PatchPerl::Hints->hint_file();
AUTHORChris Williams <chris@bingosnet.co.uk> COPYRIGHT AND LICENSEThis software is copyright (c) 2021 by Chris Williams and Marcus Holland-Moritz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|