Blame


1 1f8948bb 2023-04-30 jrmu version=pmwiki-2.3.20 ordered=1 urlencoded=1
2 499f8508 2023-09-05 jrmu agent=w3m/0.5.3+git20230121
3 499f8508 2023-09-05 jrmu author=jrmu
4 c496966e 2023-03-18 jrmu charset=UTF-8
5 c496966e 2023-03-18 jrmu csum=
6 c496966e 2023-03-18 jrmu ctime=1610459297
7 499f8508 2023-09-05 jrmu host=38.87.162.8
8 c496966e 2023-03-18 jrmu name=Openbsd.CPAN
9 499f8508 2023-09-05 jrmu rev=5
10 499f8508 2023-09-05 jrmu targets=Category.Perl,!Perl,Openbsd.Ports,Openbsd.Pkg
11 499f8508 2023-09-05 jrmu text=Category: [[!perl]]%0a%0a'''WARNING''': If you install perl modules using CPAN as root, there is a%0arisk that upgrading to a new OpenBSD release will cause library version%0amismatches and break existing perl scripts.%0a%0aInstead, if you need to install packages system-wide, use openbsd's prepared%0apackages. You can search for them in the [[Openbsd/Ports|ports tree]] then%0ainstall them with [[Openbsd/Pkg|pkg_add]].%0a%0aFor example, to instal the local::lib module:%0a%0a[@%0a$ doas pkg_add p5-local-lib%0a@]%0a%0aIf a package is not available, consider using the local::lib module that comes with CPAN. The command is:%0a%0a[@%0a$ cpan -I $MODULE%0a@]%0a%0aReplace $MODULE with the module name.%0a%0aThen, include this line in your perl script before using the module:%0a%0a[@%0ause local::lib;%0a@]%0a%0aNote: This page should probably have more details and be on a bugs/troubleshooting page for openbsd. %0a%0aCustom @@umask@@ will cause an incorrect permissions for some perl dirs, created during @@cpan@@ usage. As result only you will have access to the required perl libraries. It is importan if you wanna to share those libraries with other users. You need set @@umask@@ to default value before execute @@cpan@@.%0a%0a''The default mask value is S_IWGRP|S_IWOTH (022, write access for the owner only).'' (@@man umask@@)%0a%0aIf perl libraries have the wrong dependency versions, you can have CPAN recompile all modules:%0a%0a[@%0a$ perl -MCPAN -e 'recompile()'%0a@]%0a
12 499f8508 2023-09-05 jrmu time=1693884321
13 499f8508 2023-09-05 jrmu author:1693884321=jrmu
14 499f8508 2023-09-05 jrmu diff:1693884321:1693884155:=10,15d9%0a%3c %0a%3c For example, to instal the local::lib module:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add p5-local-lib%0a%3c @]%0a
15 499f8508 2023-09-05 jrmu host:1693884321=38.87.162.8
16 499f8508 2023-09-05 jrmu author:1693884155=jrmu
17 499f8508 2023-09-05 jrmu diff:1693884155:1693883725:=2,23d1%0a%3c %0a%3c '''WARNING''': If you install perl modules using CPAN as root, there is a%0a%3c risk that upgrading to a new OpenBSD release will cause library version%0a%3c mismatches and break existing perl scripts.%0a%3c %0a%3c Instead, if you need to install packages system-wide, use openbsd's prepared%0a%3c packages. You can search for them in the [[Openbsd/Ports|ports tree]] then%0a%3c install them with [[Openbsd/Pkg|pkg_add]].%0a%3c %0a%3c If a package is not available, consider using the local::lib module that comes with CPAN. The command is:%0a%3c %0a%3c [@%0a%3c $ cpan -I $MODULE%0a%3c @]%0a%3c %0a%3c Replace $MODULE with the module name.%0a%3c %0a%3c Then, include this line in your perl script before using the module:%0a%3c %0a%3c [@%0a%3c use local::lib;%0a%3c @]%0a
18 499f8508 2023-09-05 jrmu host:1693884155=38.87.162.8
19 499f8508 2023-09-05 jrmu author:1693883725=jrmu
20 499f8508 2023-09-05 jrmu diff:1693883725:1682808150:=7,13c7%0a%3c ''The default mask value is S_IWGRP|S_IWOTH (022, write access for the owner only).'' (@@man umask@@)%0a%3c %0a%3c If perl libraries have the wrong dependency versions, you can have CPAN recompile all modules:%0a%3c %0a%3c [@%0a%3c $ perl -MCPAN -e 'recompile()'%0a%3c @]%0a---%0a> ''The default mask value is S_IWGRP|S_IWOTH (022, write access for the owner only).'' (@@man umask@@)%0a\ No newline at end of file%0a
21 499f8508 2023-09-05 jrmu host:1693883725=38.87.162.8
22 1f8948bb 2023-04-30 jrmu author:1682808150=izzyb
23 1f8948bb 2023-04-30 jrmu diff:1682808150:1610459297:=1,4d0%0a%3c Category: [[!perl]]%0a%3c %0a%3c Note: This page should probably have more details and be on a bugs/troubleshooting page for openbsd. %0a%3c %0a
24 1f8948bb 2023-04-30 jrmu host:1682808150=75.158.138.249
25 c496966e 2023-03-18 jrmu author:1610459297=Dima
26 c496966e 2023-03-18 jrmu diff:1610459297:1610459297:=1,3d0%0a%3c Custom @@umask@@ will cause an incorrect permissions for some perl dirs, created during @@cpan@@ usage. As result only you will have access to the required perl libraries. It is importan if you wanna to share those libraries with other users. You need set @@umask@@ to default value before execute @@cpan@@.%0a%3c %0a%3c ''The default mask value is S_IWGRP|S_IWOTH (022, write access for the owner only).'' (@@man umask@@)%0a\ No newline at end of file%0a
27 c496966e 2023-03-18 jrmu host:1610459297=31.220.3.148