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 961 http://perlmonks.org/ 20200926124226 Sat Sep 26 12:42:26 2020 2020-09-26 22:42:26 30 clean,rss PerlMonks Sat Sep 26 12:42:26 2020 Anonymous Monk Unable to uvpote answers pritesh_ugrankar http://perlmonks.org/index.pl?node_id=11122243 Resepcted Monks, Since past few days, I am not able to upvote any answers here at PerlMonks. I was able to upvote up until a few days ago, but it's been about 2 weeks, and I've checked at ... monkdiscuss Sat, 26 Sep 2020 17:55:05 +0000 http://perlmonks.org/index.pl?node_id=11122243 11122243 1182149 2020-09-26 13:55:05 pritesh_ugrankar WWW::Mechanize::Chrome Can't Connect without knowing the port?! dexmar http://perlmonks.org/index.pl?node_id=11122248 Hello Monks! I have a Centos 8 VM running on my local machine with a fresh install of Chrome 87.0.4270.0 and WWW::Mechanize::Chrome installed to version 0.60. In trying the dump-links.pl ... perlquestion Sat, 26 Sep 2020 20:15:15 +0000 http://perlmonks.org/index.pl?node_id=11122248 11122248 11122186 2020-09-26 16:15:15 dexmar Re^2: Unable to uvpote answers pritesh_ugrankar http://perlmonks.org/index.pl?node_id=11122251 Hi, I do not see the number of votes left for the day. I tried logging out and back in several times, but looks like that does not help. ... note Sat, 26 Sep 2020 21:34:56 +0000 http://perlmonks.org/index.pl?node_id=11122251 11122251 1182149 2020-09-26 17:34:56 pritesh_ugrankar Re^2: WWW::Mechanize::Chrome Can't Connect without knowing the port?! dexmar http://perlmonks.org/index.pl?node_id=11122250 Thank you for the quick reply!!! Does that only work headless? When I insert that code into dump-links.pl I get this: 2020/09/26 14:01:35 Spawning $VAR1 = &#91; '/usr/bi... note Sat, 26 Sep 2020 21:05:20 +0000 http://perlmonks.org/index.pl?node_id=11122250 11122250 11122186 2020-09-26 17:05:20 dexmar Re: WWW::Mechanize::Chrome Can't Connect without knowing the port?! Corion http://perlmonks.org/index.pl?node_id=11122249 Oops! This seems to be a regression that nobody found yet! As a workaround, you can use WWW_MECHANIZE_CHROME_CONNECTION_STYLE=pipe perl -Ilib -MWWW::Mechanize::Chrome -wle 'my $me... note Sat, 26 Sep 2020 20:40:15 +0000 http://perlmonks.org/index.pl?node_id=11122249 11122249 5348 2020-09-26 16:40:15 Corion Re^2: Visualize Perl Program karlgoethebier http://perlmonks.org/index.pl?node_id=11122247 <a href="?node_id=11111138">/tja(&#720;)/</a> «The Crux of the Biscuit is the Apostrophe»... note Sat, 26 Sep 2020 20:09:08 +0000 http://perlmonks.org/index.pl?node_id=11122247 11122247 1001958 2020-09-26 16:09:08 karlgoethebier Re: Unable to uvpote answers LanX http://perlmonks.org/index.pl?node_id=11122246 Do you see something like XP Nodelet You have 6 votes left today At the right edge? If not, did you properly log-in in the last days? Otherwise you won't get new votes. ... note Sat, 26 Sep 2020 19:10:28 +0000 http://perlmonks.org/index.pl?node_id=11122246 11122246 708738 2020-09-26 15:10:28 LanX Re: Net::OpenSSH reconnect master if conn. closed haukex http://perlmonks.org/index.pl?node_id=11122245 I'm not sure at the moment if there's a built-in way to do this. But here is a stripped-down version of a script I've had in active use for about a year now to maintain a connection to an SSH serve... note Sat, 26 Sep 2020 19:02:05 +0000 http://perlmonks.org/index.pl?node_id=11122245 11122245 830549 2020-09-26 15:02:05 haukex Re^3: RFC: How did I do writing my first test? Arunbear http://perlmonks.org/index.pl?node_id=11122244 What does the documentation say about how it handles blank lines? :) i.e. this may well be the correct behaviour (but you'd need to think about and document that). ... note Sat, 26 Sep 2020 18:06:31 +0000 http://perlmonks.org/index.pl?node_id=11122244 11122244 298378 2020-09-26 14:06:31 Arunbear Re: tr operator in eval -- updated BillKSmith http://perlmonks.org/index.pl?node_id=11122242 The documentation for tr clearly states that it does not interpolate. As a workaround, we can interpolate into a string and then evaluate that string. The first two tests below demonst... note Sat, 26 Sep 2020 17:04:39 +0000 http://perlmonks.org/index.pl?node_id=11122242 11122242 957973 2020-09-26 13:04:39 BillKSmith Re: tr operator in eval -- updated AnomalousMonk http://perlmonks.org/index.pl?node_id=11122241 When using an <a href="http://perldoc.perl.org/functions/eval.html">eval</a> STRING; statement, I find it very helpful to build the string separately so that it can be examined with the Perl debugger (see <a href="http://perldoc.perl.org/perldebug.html">perldebug</a>) ... note Sat, 26 Sep 2020 16:43:23 +0000 http://perlmonks.org/index.pl?node_id=11122241 11122241 634253 2020-09-26 12:43:23 AnomalousMonk