60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/bare/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator rss,clean Fri Jan 22 03:20:03 2021 http://perlmonks.org/ Anonymous Monk PerlMonks 20210122032003 961 2021-01-22 14:20:03 30 Fri Jan 22 03:20:03 2021 Internal SSL error after Ubuntu update afoken http://perlmonks.org/bare/index.pl?node_id=11127268 It's Friday, I've switched from developer to admin, as usual, and decided to upgrade some of our machines. There's a script to set permissions on a Linux machine based on what can be found ... perlquestion Fri, 22 Jan 2021 13:04:03 +0000 http://perlmonks.org/bare/index.pl?node_id=11127268 11127268 747201 2021-01-22 08:04:03 afoken psql splitter for php TheloniusMonk http://perlmonks.org/bare/index.pl?node_id=11127266 Dear Monks, I am working on a migration project, where there will be parallel run for all the migrated servers for a period of time. One of these servers is a LAPP stack with cron jobs written in b... perlquestion Fri, 22 Jan 2021 12:13:32 +0000 http://perlmonks.org/bare/index.pl?node_id=11127266 11127266 1220758 2021-01-22 07:13:32 TheloniusMonk Re^2: Internal SSL error after Ubuntu update afoken http://perlmonks.org/bare/index.pl?node_id=11127278 Purely a guess, but in your shoes I would check which TLS versions the LDAP server supports and which versions your upgraded client permits. There could well be a mismatch there (although,... note Fri, 22 Jan 2021 14:17:26 +0000 http://perlmonks.org/bare/index.pl?node_id=11127278 11127278 747201 2021-01-22 09:17:26 afoken Re^5: Question regarding Time::Piece and timezones haukex http://perlmonks.org/bare/index.pl?node_id=11127277 I think what that argument is for is providing a mapping for zones if they're named in the date which is being parsed. Yes, I agree, time_zone makes sense wh... note Fri, 22 Jan 2021 14:07:44 +0000 http://perlmonks.org/bare/index.pl?node_id=11127277 11127277 830549 2021-01-22 09:07:44 haukex Re^4: Handling multiple output files simultaneously using arrays of filehandles and filenames Cosmic37 http://perlmonks.org/bare/index.pl?node_id=11127276 Thanks again. I would like to confirm to you that this is indeed what I have done. Using curly braces allowed successful execution of the code. I also tried without the curly braces as a cross check o... note Fri, 22 Jan 2021 14:01:24 +0000 http://perlmonks.org/bare/index.pl?node_id=11127276 11127276 562623 2021-01-22 09:01:24 Cosmic37 Re^4: Handling multiple output files simultaneously using arrays of filehandles and filenames Cosmic37 http://perlmonks.org/bare/index.pl?node_id=11127275 Well for the record it was indeed intended to denote the Perl Monks as cute and lovely people, whilst simultaneously making a reference to The Monkees band.... note Fri, 22 Jan 2021 13:56:11 +0000 http://perlmonks.org/bare/index.pl?node_id=11127275 11127275 562623 2021-01-22 08:56:11 Cosmic37 Re^2: psql splitter for php TheloniusMonk http://perlmonks.org/bare/index.pl?node_id=11127274 Ha ha and that's supposed to be a counter-argument? So OK I'll take your regurgitated advice and go elsewhere.... note Fri, 22 Jan 2021 13:43:19 +0000 http://perlmonks.org/bare/index.pl?node_id=11127274 11127274 1220758 2021-01-22 08:43:19 TheloniusMonk Re^16: let Makefile.PL to do the Readme file for me -- new target? (Powershell) LanX http://perlmonks.org/bare/index.pl?node_id=11127273 Disclaimer: I'm still far more fluent in bash and linux tools. But I'd like to see some of these features <a href="http://perldoc.perl.org/functions/use.html">use</a>d in Perl. > ps | where Company -like *LLC | select n... note Fri, 22 Jan 2021 13:39:32 +0000 http://perlmonks.org/bare/index.pl?node_id=11127273 11127273 708738 2021-01-22 08:39:32 LanX Re: Internal SSL error after Ubuntu update hippo http://perlmonks.org/bare/index.pl?node_id=11127272 Purely a guess, but in your shoes I would check which TLS versions the LDAP server supports and which versions your upgraded client permits. There could well be a mismatch there (although, in that ... note Fri, 22 Jan 2021 13:38:28 +0000 http://perlmonks.org/bare/index.pl?node_id=11127272 11127272 885521 2021-01-22 08:38:28 hippo Re^2: Internal SSL error after Ubuntu update afoken http://perlmonks.org/bare/index.pl?node_id=11127271 Ubuntu upgraded the Perl version between 18 and 20. So most likely, you will have to reinstall/recompile all XS modules. Right, but I use only the system perl and a single... note Fri, 22 Jan 2021 13:29:23 +0000 http://perlmonks.org/bare/index.pl?node_id=11127271 11127271 747201 2021-01-22 08:29:23 afoken Re: Internal SSL error after Ubuntu update Corion http://perlmonks.org/bare/index.pl?node_id=11127270 According to <a href="?node=Tux">Tux</a> <a href="https://github.com/Tux/System-Info/blob/master/sandbox/dist-perl.csv">list of Perl versions on Linux distributions</a>, Ubuntu upgraded the Perl version between 18 and 20. So most l... note Fri, 22 Jan 2021 13:13:29 +0000 http://perlmonks.org/bare/index.pl?node_id=11127270 11127270 5348 2021-01-22 08:13:29 Corion Re^15: let Makefile.PL to do the Readme file for me -- new target? (Powershell) bliako http://perlmonks.org/bare/index.pl?node_id=11127269 ok thanks, it's all new to me. And I found a couple of related modules on CPAN. The dir-style for options also appears in Linux (e.g. /proc) don't know which was there first.... note Fri, 22 Jan 2021 13:11:32 +0000 http://perlmonks.org/bare/index.pl?node_id=11127269 11127269 1165397 2021-01-22 08:11:32 bliako Re: psql splitter for php Anonymous Monk http://perlmonks.org/bare/index.pl?node_id=11127267 "<a href="?node_id=1221403">This is the last node that I will write in PerlMonks.</a>" "<a href="?node_id=1221806">every single post you make only increases your exposure as a group of victims of Narcistic Personality Disorder.</a>"... note Fri, 22 Jan 2021 12:23:22 +0000 http://perlmonks.org/bare/index.pl?node_id=11127267 11127267 961 2021-01-22 07:23:22 Anonymous Monk Re^4: Cannot get Marpa::R2 to prioritise one rule over another choroba http://perlmonks.org/bare/index.pl?node_id=11127265 Lines 24 and 25 contain lexer rules (easily recognisable by the tilde), but line 27 contains a grammar rule again, followed by another lexer rule. But maybe that's how you like it. The more important ... note Fri, 22 Jan 2021 09:14:31 +0000 http://perlmonks.org/bare/index.pl?node_id=11127265 11127265 832495 2021-01-22 04:14:31 choroba Re^3: Cannot get Marpa::R2 to prioritise one rule over another Discipulus http://perlmonks.org/bare/index.pl?node_id=11127264 Hello <a href="?node=choroba">choroba</a>, can you be so kind to explain me better your: &gt; Mixing the lexer and grammar rules is not a good idea, they're very different. because I'm reading &#91;https:... note Fri, 22 Jan 2021 09:02:40 +0000 http://perlmonks.org/bare/index.pl?node_id=11127264 11127264 174111 2021-01-22 04:02:40 Discipulus Re^2: Unpacking byte stream long/quad little/big endian fields GrandFather http://perlmonks.org/bare/index.pl?node_id=11127263 Sure, that's essentially what I'm doing too. But sometimes people peek under the hood, and I'd like it sparking under there too. <a href="?node=Tux">Tux</a>'s answer provides a nice solution for Perl >= 5.10 and... note Fri, 22 Jan 2021 08:32:33 +0000 http://perlmonks.org/bare/index.pl?node_id=11127263 11127263 461912 2021-01-22 03:32:33 GrandFather Re^2: Unpacking byte stream long/quad little/big endian fields GrandFather http://perlmonks.org/bare/index.pl?node_id=11127262 Ahh, I hadn't noticed in the pack/unpack docs. It is there in my <a href="https://www.oreilly.com/library/view/perl-pocket-reference/9781449311186/">Perl 5.14 Pocket Reference</a>, but somewhat buried ... note Fri, 22 Jan 2021 08:26:55 +0000 http://perlmonks.org/bare/index.pl?node_id=11127262 11127262 461912 2021-01-22 03:26:55 GrandFather Re: Unpacking byte stream long/quad little/big endian fields salva http://perlmonks.org/bare/index.pl?node_id=11127261 I faced a similar problem while writting <a href="http://search.cpan.org/perldoc?Net%3A%3ASFTP%3A%3AForeign">Net::SFTP::Foreign</a>. My solution was to create a set of functions which pop the data from the buffer, allowing me to write code as the following: ... note Fri, 22 Jan 2021 08:22:28 +0000 http://perlmonks.org/bare/index.pl?node_id=11127261 11127261 446266 2021-01-22 03:22:28 salva