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-08-30 03:44:31 rss,clean Mon Aug 29 17:44:31 2016 30 20160829174431 Mon Aug 29 17:44:31 2016 http://perlmonks.org/ Anonymous Monk Mojolicious to and from buttons docdurdee http://perlmonks.org/index.pl?node_id=1170750 Dearest Monks, I am dipping my feet into all things webapp with a simple application. I would like to build web app to render a list of files in a filesystem directory and attach and actionable bu... perlquestion Mon, 29 Aug 2016 21:57:43 +0000 http://perlmonks.org/index.pl?node_id=1170750 1170750 905166 2016-08-29 17:57:43 docdurdee Re^8: Highly efficient variable-sharing among processes BrowserUk http://perlmonks.org/index.pl?node_id=1170764 I think what is being discussed Don't take this to heart, but I think what is being discussed Is a strange way to i... note Tue, 30 Aug 2016 02:53:26 +0000 http://perlmonks.org/index.pl?node_id=1170764 1170764 171588 2016-08-29 22:53:26 BrowserUk Re: Battleship solitaire puzzle generator Anonymous Monk http://perlmonks.org/index.pl?node_id=1170763 With a Tk display <a href="?node_id=1170760">Re^4: Feedback for programming a UI in Perl</a> ... note Tue, 30 Aug 2016 01:36:48 +0000 http://perlmonks.org/index.pl?node_id=1170763 1170763 961 2016-08-29 21:36:48 Anonymous Monk Re^4: Feedback for programming a UI in Perl Anonymous Monk http://perlmonks.org/index.pl?node_id=1170760 I wrote a Battleship generator for <a href="?node_id=1170733">Battleship solitaire puzzle generator</a> Then I thought about this node and added the Tk portion for a better display, also clicking a button exposes the data under it. ... note Tue, 30 Aug 2016 01:24:40 +0000 http://perlmonks.org/index.pl?node_id=1170760 1170760 961 2016-08-29 21:24:40 Anonymous Monk Re: Perl with redistributable web server and mysql? Tanktalus http://perlmonks.org/index.pl?node_id=1170759 I'd be sorely tempted to try a redistributable <a href="http://docker.com">docker</a> image... yeah, ok, it'd be a bit of a pain to set up docker automatically on a windows host, but once you got that d... note Tue, 30 Aug 2016 00:07:57 +0000 http://perlmonks.org/index.pl?node_id=1170759 1170759 421114 2016-08-29 20:07:57 Tanktalus Re^7: Highly efficient variable-sharing among processes Marshall http://perlmonks.org/index.pl?node_id=1170758 I am saying that if the other processes don't write this huge hash, there is no memory copy at all made of the data, all of these guys can access the same data segment. In Unix, there is not that much... note Mon, 29 Aug 2016 23:35:55 +0000 http://perlmonks.org/index.pl?node_id=1170758 1170758 732669 2016-08-29 19:35:55 Marshall Re^6: Highly efficient variable-sharing among processes BrowserUk http://perlmonks.org/index.pl?node_id=1170757 I think what is being discussed is copy-on-write. Why do you think that? And who do you think is discussing that? The OP mentions only "*other* process... note Mon, 29 Aug 2016 23:22:59 +0000 http://perlmonks.org/index.pl?node_id=1170757 1170757 171588 2016-08-29 19:22:59 BrowserUk Re^4: Installing Perl Modules Marshall http://perlmonks.org/index.pl?node_id=1170756 Your link is similar as the one I posted. Good info about what files it needs! My machine is connected to the internet so this .ppd XML file worked. I would add that the XML .ppd file does contain the... note Mon, 29 Aug 2016 23:19:05 +0000 http://perlmonks.org/index.pl?node_id=1170756 1170756 732669 2016-08-29 19:19:05 Marshall Re: Highly efficient variable-sharing among processes RonW http://perlmonks.org/index.pl?node_id=1170755 I don't know enough about mod_perl to know whether this applies, but.... An initial process that first loads the hash could then fork off "copies" of itself. As long as the accesses to the ... note Mon, 29 Aug 2016 23:05:57 +0000 http://perlmonks.org/index.pl?node_id=1170755 1170755 1080444 2016-08-29 19:05:57 RonW Re^2: Mojolicious to and from buttons Anonymous Monk http://perlmonks.org/index.pl?node_id=1170754 :D almost <a href="https://metacpan.org/pod/Mojolicious::Plugin::TagHelpers#submit_button">https://metacpan.org/pod/Mojolicious::Plugin::TagHelpers#submit_button</a> says submit_button "value", id =>"id"; so you need submit_button $filename, id => "id"; ... note Mon, 29 Aug 2016 22:50:33 +0000 http://perlmonks.org/index.pl?node_id=1170754 1170754 961 2016-08-29 18:50:33 Anonymous Monk Re: Mojolicious to and from buttons Anonymous Monk http://perlmonks.org/index.pl?node_id=1170753 How can the button be set up to attach the filename to the button which sends it off to another method on the click? The program you have posted already does that... note Mon, 29 Aug 2016 22:47:02 +0000 http://perlmonks.org/index.pl?node_id=1170753 1170753 961 2016-08-29 18:47:02 Anonymous Monk Re^3: Installing Perl Modules Anonymous Monk http://perlmonks.org/index.pl?node_id=1170752 You may not understand that the Active State .ppd file has everything needed for the installation. It is pre-compiled and "ready to go" . No, .ppd is just xml file that says whats avai... note Mon, 29 Aug 2016 22:44:28 +0000 http://perlmonks.org/index.pl?node_id=1170752 1170752 961 2016-08-29 18:44:28 Anonymous Monk Re^5: Highly efficient variable-sharing among processes Marshall http://perlmonks.org/index.pl?node_id=1170751 I think what is being discussed is <a href="https://en.wikipedia.org/wiki/Copy-on-write">copy-on-write</a>. If the forked process doesn't write the data, there is no copy made. Many processes could read the sam... note Mon, 29 Aug 2016 22:31:29 +0000 http://perlmonks.org/index.pl?node_id=1170751 1170751 732669 2016-08-29 18:31:29 Marshall Re^4: How to stuff space separated column into Hash Marshall http://perlmonks.org/index.pl?node_id=1170749 Glad that you have something "that works". Since I see that you are using the DBI and SQL, I would use the power of SQL instead of trying to replicate this into a HOH. I actually was wondering ... note Mon, 29 Aug 2016 21:51:23 +0000 http://perlmonks.org/index.pl?node_id=1170749 1170749 732669 2016-08-29 17:51:23 Marshall rsvp rsvp http://perlmonks.org/index.pl?node_id=1170761 user Tue, 30 Aug 2016 01:33:15 +0000 http://perlmonks.org/index.pl?node_id=1170761 1170761 1170761 2016-08-29 21:33:15 rsvp