60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator Tue Feb 21 17:14:58 2017 30 20170221171458 http://perlmonks.org/ 2017-02-22 04:14:58 clean,rss 961 Tue Feb 21 17:14:58 2017 Anonymous Monk PerlMonks Perl5 Perl6 forking reverendmred http://perlmonks.org/index.pl?node_id=1182484 I'm returning to Perl after an absence of a couple years to pick up a lot of code I left in beta. Now, Perl6 has changed all the rules. Languages need to evolve, but when C evolved into differe... perlquestion Wed, 22 Feb 2017 02:22:50 +0000 http://perlmonks.org/index.pl?node_id=1182484 1182484 1182482 2017-02-21 21:22:50 reverendmred "make test" catches a C undefined symbol, but "prove" doesn't stevieb http://perlmonks.org/index.pl?node_id=1182479 I'm having a head-scratching moment here. Precursor: this isn't a failure due to anything missing; I'm failing to understand why one thing succeeds and the other doesnt. I'm finding issues installi... perlquestion Wed, 22 Feb 2017 01:29:58 +0000 http://perlmonks.org/index.pl?node_id=1182479 1182479 789891 2017-02-21 20:29:58 stevieb Re: Perl5 Perl6 forking stevieb http://perlmonks.org/index.pl?node_id=1182492 Seems to me based on this: "The point is, if you had good OO like Perl5 code, there should be no problem running it alongside new Perl6 code as long as you treat them as separate... note Wed, 22 Feb 2017 04:07:14 +0000 http://perlmonks.org/index.pl?node_id=1182492 1182492 789891 2017-02-21 23:07:14 stevieb Re^2: Parsing output from a 'system' call into objects? choroba http://perlmonks.org/index.pl?node_id=1182491 my @lines = split /\n/, `cat data.txt`; can be replaced by chomp( my @lines = `cat data.txt` ); It only makes sense to commands different to cat , of cou... note Wed, 22 Feb 2017 04:04:55 +0000 http://perlmonks.org/index.pl?node_id=1182491 1182491 832495 2017-02-21 23:04:55 choroba Re^3: "make test" catches a C undefined symbol, but "prove" doesn't choroba http://perlmonks.org/index.pl?node_id=1182490 make test runs in blib as your output shows: # Compilation failed in require at /home/spek/repos/rpi-dac-mcp4922/blib/lib/RPi/DAC/MCP4922.pm line 9. ... note Wed, 22 Feb 2017 03:58:21 +0000 http://perlmonks.org/index.pl?node_id=1182490 1182490 832495 2017-02-21 22:58:21 choroba Re: It does not change password in LDAP Windows 2012 R2 francism8 http://perlmonks.org/index.pl?node_id=1182489 Sharing the capture logs When I execute the script it says SUCCESS in the local host windows. C:\script\perl> changepassword.pl user1 P@ssw0rd1234 AD : SUCCESS: user... note Wed, 22 Feb 2017 03:50:44 +0000 http://perlmonks.org/index.pl?node_id=1182489 1182489 1182046 2017-02-21 22:50:44 francism8 Re^4: How to read compressed (gz) file in xml::twig CSharma http://perlmonks.org/index.pl?node_id=1182488 Thanks a lot Hauke!! The code worked and it's certainly better than earlier. Thanks, Chetan... note Wed, 22 Feb 2017 03:08:24 +0000 http://perlmonks.org/index.pl?node_id=1182488 1182488 1136464 2017-02-21 22:08:24 CSharma Re^4: multiple machines disk space alert vikas330 http://perlmonks.org/index.pl?node_id=1182487 Hello Laurent_R, Thanks for the suggesstion. Yes, you are right, HTML will help me geting the output in tabular format. Thank you so much. ... note Wed, 22 Feb 2017 03:00:55 +0000 http://perlmonks.org/index.pl?node_id=1182487 1182487 1182420 2017-02-21 22:00:55 vikas330 Re^4: multiple machines disk space alert vikas330 http://perlmonks.org/index.pl?node_id=1182486 Hello thanos1983, Thanks for the detailed suggestion, sure I'm going through the links you have provided and trying to do the coding. It helps me a lot. Thank you so much. ... note Wed, 22 Feb 2017 02:58:32 +0000 http://perlmonks.org/index.pl?node_id=1182486 1182486 1182420 2017-02-21 21:58:32 vikas330 Re: "make test" catches a C undefined symbol, but "prove" doesn't stevieb http://perlmonks.org/index.pl?node_id=1182485 Now, I'm even more confused, and although I don't desire to, feel if I can't get this soon, I should take this out of Perlmonks as it's beyond Perl code by far. I've added #include ... note Wed, 22 Feb 2017 02:49:16 +0000 http://perlmonks.org/index.pl?node_id=1182485 1182485 789891 2017-02-21 21:49:16 stevieb Re^2: "make test" catches a C undefined symbol, but "prove" doesn't stevieb http://perlmonks.org/index.pl?node_id=1182481 Ok, so where is that, or where should that be applied? I'm not understanding... are you saying that in one of the two test runs that API.so is being read out of blib and the other isn... note Wed, 22 Feb 2017 02:05:41 +0000 http://perlmonks.org/index.pl?node_id=1182481 1182481 789891 2017-02-21 21:05:41 stevieb Re: "make test" catches a C undefined symbol, but "prove" doesn't Anonymous Monk http://perlmonks.org/index.pl?node_id=1182480 because -b is for blib... note Wed, 22 Feb 2017 01:59:30 +0000 http://perlmonks.org/index.pl?node_id=1182480 1182480 961 2017-02-21 20:59:30 Anonymous Monk Re^3: Manually Select a Windows Window Anonymous Monk http://perlmonks.org/index.pl?node_id=1182478 No way to have Perl wait for a mouse click on any window and then send the data? See &#91;href://https://msdn.microsoft.com/en-us/library/windows/desktop/ms646293(v=vs.85).aspx|GetAsyncKey... note Wed, 22 Feb 2017 00:15:01 +0000 http://perlmonks.org/index.pl?node_id=1182478 1182478 961 2017-02-21 19:15:01 Anonymous Monk Re^3: multiple machines disk space alert Laurent_R http://perlmonks.org/index.pl?node_id=1182476 Hmm, putting data into tabular format is easy. Getting it right in an e-main at the other end might be more complicated, especially if Outlook (or another mail reader) changes the font or unilaterally... note Tue, 21 Feb 2017 23:29:34 +0000 http://perlmonks.org/index.pl?node_id=1182476 1182476 992570 2017-02-21 18:29:34 Laurent_R Re: how extract and group data in a array johngg http://perlmonks.org/index.pl?node_id=1182475 I used the <a href="http://perldoc.perl.org/perlop.html#Range-Operators">range operator</a> approach like <a href="?node=Athanasius">Athanasius</a> but, to avoid keeping track of state, inside a <a href="http://perldoc.perl.org/functions/grep.html">grep</a> feeding into a <a href="http://perldoc.perl.org/functions/join.html">join</a> with nuls then a couple o... note Tue, 21 Feb 2017 23:03:01 +0000 http://perlmonks.org/index.pl?node_id=1182475 1182475 401112 2017-02-21 18:03:01 johngg reverendmred reverendmred http://perlmonks.org/index.pl?node_id=1182482 user Wed, 22 Feb 2017 02:09:07 +0000 http://perlmonks.org/index.pl?node_id=1182482 1182482 1182482 2017-02-21 21:09:07 reverendmred