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 PerlMonks 2016-09-28 03:29:52 rss,clean Tue Sep 27 17:29:52 2016 30 20160927172952 Tue Sep 27 17:29:52 2016 http://perlmonks.org/ Anonymous Monk [(way)OT] Formula for volume of a circular lens with an elliptical profile? BrowserUk http://perlmonks.org/index.pl?node_id=1172786 Usual reasons: a) I've looked in all the usual places; b) we usually get quicker, better answers here than other places. (If it mitigates, the calculation will be ... perlquestion Tue, 27 Sep 2016 23:17:38 +0000 http://perlmonks.org/index.pl?node_id=1172786 1172786 171588 2016-09-27 19:17:38 BrowserUk Re^3: compare two files on the basis of Two IDs marinersk http://perlmonks.org/index.pl?node_id=1172792 This code works for me. Is there something wrong with the output? a.dat: chr17 69112551 chr1 67058869 chr7 151046672 chr7 151047369 chr1 66953654 ... note Wed, 28 Sep 2016 03:05:29 +0000 http://perlmonks.org/index.pl?node_id=1172792 1172792 210889 2016-09-27 23:05:29 marinersk Re^5: Win 10 Anniversary killed Perl marinersk http://perlmonks.org/index.pl?node_id=1172791 using the windows command copy \b I presume you mean copy /b ? ... note Wed, 28 Sep 2016 02:51:50 +0000 http://perlmonks.org/index.pl?node_id=1172791 1172791 210889 2016-09-27 22:51:50 marinersk Re: Perl script to run for x hours marinersk http://perlmonks.org/index.pl?node_id=1172790 As noted by others, what the script is doing generally drives the decision on how to implement the time limit. That said, if you have something that can run for hours, one hopes it is doi... note Wed, 28 Sep 2016 02:45:11 +0000 http://perlmonks.org/index.pl?node_id=1172790 1172790 210889 2016-09-27 22:45:11 marinersk Re: why are hex values not numbers? AnomalousMonk http://perlmonks.org/index.pl?node_id=1172789 Once you get this vexed question nailed down, I think you should investigate why the <a href="http://perldoc.perl.org/functions/substr.html">substr</a> built-in is named "substr" and not "substring", "subStr", "subString", "sub_str", "sub_string" ... note Wed, 28 Sep 2016 00:14:07 +0000 http://perlmonks.org/index.pl?node_id=1172789 1172789 634253 2016-09-27 20:14:07 AnomalousMonk Re: [(way)OT] Formula for volume of a circular lens with an elliptical profile? RichardK http://perlmonks.org/index.pl?node_id=1172788 I'm not quite sure what your lens looks like, but is it half of an <a href="http://en.wikipedia.org/wiki/Special:Search?search=ellipsoid">ellipsoid</a> ? where ellipsoid volume V= 4/3 &#960; abc... note Tue, 27 Sep 2016 23:37:26 +0000 http://perlmonks.org/index.pl?node_id=1172788 1172788 919638 2016-09-27 19:37:26 RichardK Re: [(way)OT] Formula for volume of a circular lens with an elliptical profile? Anonymous Monk http://perlmonks.org/index.pl?node_id=1172787 It's just a sphere that's squashed in one dimension. 4/3 pi R^2 T... note Tue, 27 Sep 2016 23:31:25 +0000 http://perlmonks.org/index.pl?node_id=1172787 1172787 961 2016-09-27 19:31:25 Anonymous Monk Re^3: Win32 OLE Word Add Password? Anonymous Monk http://perlmonks.org/index.pl?node_id=1172785 So I only researched this problem under Perl, forgetting that you have to hunt around under VB to find answers like this. Turns out it is possible, and easier than I imagined. #!/usr/bin/perl... note Tue, 27 Sep 2016 21:51:44 +0000 http://perlmonks.org/index.pl?node_id=1172785 1172785 961 2016-09-27 17:51:44 Anonymous Monk Re^2: compare two files on the basis of Two IDs genome http://perlmonks.org/index.pl?node_id=1172784 Hi, Thanks for your reply. I tried to print the result for file 1, but not for file 2. I am trying the code, but not worked for me. #!/usr/bin/perl #use warnings; #use strict; #use ... note Tue, 27 Sep 2016 21:31:23 +0000 http://perlmonks.org/index.pl?node_id=1172784 1172784 1129453 2016-09-27 17:31:23 genome