From gwadej at anomaly.org Fri Jul 6 20:42:53 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 6 Jul 2012 22:42:53 -0500 Subject: [pm-h] July Houston.pm Presentation Message-ID: <20120706224253.61b9ba72@cygnus> Mark Allen presents his OSCON presentation "Git for the Perl Hacker" for the July Houston.pm meeting this Thursday (July 12). The presentation will begin at 7pm at 3131 W. Alabama, as usual. Someone will be available in the lobby between 6:40pm and 7pm. We'll go up to the meeting together. As always, there is free parking on top of the parking garage. G. Wade -- "I can only conclude that I'm paying off karma at a vastly accelerated rate." -- Ivanova, "Points of Departure" From flbaker at sbcglobal.net Mon Jul 9 08:58:13 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Mon, 9 Jul 2012 10:58:13 -0500 Subject: [pm-h] Fault Tracking Message-ID: <5C7342F7F8884F759E38D0F1DE411C08@CHEETAH> Hi: Looking for a PERL fault tracking module. Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at rinaldo.us Mon Jul 9 11:16:37 2012 From: todd at rinaldo.us (Todd Rinaldo) Date: Mon, 9 Jul 2012 13:16:37 -0500 Subject: [pm-h] Fault Tracking In-Reply-To: <5C7342F7F8884F759E38D0F1DE411C08@CHEETAH> References: <5C7342F7F8884F759E38D0F1DE411C08@CHEETAH> Message-ID: On Mon, Jul 9, 2012 at 10:58 AM, Fraser Baker wrote: > Hi: > > Looking for a PERL fault tracking module. > > Fraser > I'll bite. What's a fault tracking module? From gwadej at anomaly.org Sun Jul 22 11:24:57 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 22 Jul 2012 13:24:57 -0500 Subject: [pm-h] Fw: Books and News from the O'Reilly User Group Program--July22 Message-ID: <20120722132457.0cef9671@cygnus> Announcement from O'Reilly Begin forwarded message: View this information as HTML in your browser, click here: http://post.oreilly.com/rd/9z1zm8lqgal1oscus9890fu07e90kvj4gsji70jrgl8 Hello, We've got something special for you this week: We're proud to announce the publication of a free new Radar Report. 'Data Jujitsu: The Art of Turning Data into Product' is authored by DJ Patil. A founding scientist at LinkedIn where his team pioneered the "People You Know" feature, Patil coined the term "data scientist" and has since been instrumental in establishing and codifying the profession. The new Radar Report offers invaluable information for you and your colleagues. Download your copy now: http://post.oreilly.com/rd/9z1zlio20cbfhnvnm4b3mkr4bmhgh2okb1c9avascqg --Marsee Henon & Jon Johns ================================================================ Available for Review ================================================================ The UG team is looking for book reviewers for the following books. Consider posting your reviews on Amazon, Slashdot, oreilly.com, and/or your blog. Data Jujitsu: The Art of Turning Data into Product http://post.oreilly.com/rd/9z1z0qjfvogqh2kk8po3vsei5e7m3en18m5gm14f4go Photoshop CS6 Unlocked, http://post.oreilly.com/rd/9z1zfmo0vl4r8m6j0u7o7qrbpu93dpu179dekqts5bg 2nd Edition Learning Rails 3 http://post.oreilly.com/rd/9z1zcpm6iu7vjah1i9splsi0bjehg7jgoshdb5vc4n8 It's easy for you to request books for your meetings or special events?just email usergroups at oreilly.com and include the words "book request" in the subject line. Don't forget to include your deadline and shipping address. Prefer ebooks? We can send you a free ebook certificate to print out for raffles or book reviewers. ================================================================ New Releases ================================================================ Photoshop CS6 Unlocked, 2nd Edition http://post.oreilly.com/rd/9z1z4ld0bfvs95314ldl8v1c6k2a5anbhhgovbpcaag Exploring Everyday Things with R and Ruby http://post.oreilly.com/rd/9z1z55nd5u2o6f9m053c22dsdgk4m4adstsdn0c92oo Microsoft? SQL Server? 2012 Analysis Services: The BISM Tabular Model http://post.oreilly.com/rd/9z1zd92cel9cb8tims5damr2esmbekdvv1so2ok3gjg Mobile JavaScript Application Development http://post.oreilly.com/rd/9z1zbkcc5kc7hjtrrkkvv83c89d6e6pej5mno2dct00 Training Kit (Exam 70-462): Administering Microsoft? SQL Server? 2012 Databases http://post.oreilly.com/rd/9z1zbmkel8tlrbhn56mcedc7uqddm6ttrudvj34htg0 Windows PowerShell for Developers http://post.oreilly.com/rd/9z1zp0r90vr9gjsqjvrpfolh3b0pcibrjdg6bbtbil0 Economic Impact of Open Source on Small Business: A Case Study Written by O'Reilly editors Roger Magoulas, Mike Hendrickson, and Tim O'Reilly, our new Radar Report, 'Economic Impact of Open Source on Small Business,' is a must-read. It's also free. Download it now: http://post.oreilly.com/rd/9z1zpklu4hldmg4sra1tgrurs8bfgnr18hoeor5b7vg Northeast PHP Conference (Boston, August 11-12) Tickets for the Northeast PHP conference in Boston are now on sale. Join over 300 expert web developers, entrepreneurs, and designers from all over the Northeast. Learn and share on over 40 topics on PHP, Web Technology, and Design and UX. Each ticket includes everything you need, including food, drinks, and t-shirts. Get your tickets today. http://post.oreilly.com/rd/9z1z7cqdu5ia5b88hv5vaetd3sisnd5n00chnglc4mo O'Reilly Animal Project Launches at OSCON 2012 Meet the "Animal Ladies." O'Reilly Media designers Edie Freedman and Karen Montgomery discuss the impetus for the O'Reilly Animal project and their desire to protect the endangered species that have graced our book covers over the years. Watch this short introductory video about the project, which debuted at the 2012 Open Source Convention in Portland. http://post.oreilly.com/rd/9z1z3bgfsmch4l0bah19j956i27vt3l3is4r6nhhn30 Making Group Buys Easier If your group or its members use credit cards to handle transactions for things like dues and group buys, you know it can be a pain to setup. Over on x.com, Darren Levy writes about the 2-5% lift he got when they integrated PayPal into his company's signup system. Read the article: http://post.oreilly.com/rd/9z1z0geoft1r0me043cb0qm0tnoqigvu0hdb6t5e6jg ================================================================ Meet Experts Online: Upcoming Free Webcasts ================================================================ We've got some great webcasts coming up soon that you'll want to tell your members about. They're excellent opportunities to learn something new directly from our experts. Creating Modern Web Applications Utilizing HTML5 APIs with Ido Green July 31, 10 AM PT http://post.oreilly.com/rd/9z1zr78qjn7qg8ig7mhn2grig12bmr2agqh6o8akk20 Debugging Heap Memory Corruptions with Tarik Soulami Aug 2, 10 AM PT http://post.oreilly.com/rd/9z1zkkkucv46nogskdetsabr73n9stolei1q6svuuso An Introduction to Machine Learning for Hackers Spt 18, 10 AM PT http://post.oreilly.com/rd/9z1znhucifprq4t4f244ot2usfluf1tt53kgie3h41o ================================================================ Put Up a Banner & Get a Free Book?UG leaders only ================================================================ We're looking for groups to display our discount banners on their websites. If you send us your group's site with one or more banners posted, we'll send you the O'Reilly book(s) of your choice. Choose from the following list of banners: UG Program Banners http://post.oreilly.com/rd/9z1zg0h1sk4s73195ccjplg9o2m7ua8fj2f1fc5ltu0 UG Discount Banners http://post.oreilly.com/rd/9z1ze8d6g6sutsrkbkrjvuiuf2avgtm7vqmpc65lm1g MAKE Magazine Banners http://post.oreilly.com/rd/9z1z8jscrgtgd85u5p7dlaev5gk30kb1c6898jgrsm8 Strata + Hadoop World Banners http://post.oreilly.com/rd/9z1zekj8o8ba4ah6fnveju6mtj3us00jeuku5bj5pi8 Strata Conference in London http://post.oreilly.com/rd/9z1zsu9rcsj061bosiqh3d134h15v6a843kb2qq4e9g ================================================================ Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG2 ================================================================ Looking for more? Visit oreilly.com Until next time, Marsee Henon & Jon Johns Forward this announcement: http://post.oreilly.com/f2f/9z1znt5suvt2sgvmbvv6qhvjl2rocce5jo0dudm5mmo -- Understanding is a three-edged sword. -- Kosh in "Deathwalker" -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Jul 22 20:39:32 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 22 Jul 2012 22:39:32 -0500 Subject: [pm-h] August Houston.pm Meeting Message-ID: <20120722223932.75561af6@cygnus> Anyone willing to do a presentation in August? Or should we consider doing a social meeting this time? G. Wade -- The three principal virtues of a programmer are Laziness, Impatience, and Hubris. -- Larry Wall From todd at rinaldo.us Sun Jul 22 23:08:51 2012 From: todd at rinaldo.us (Todd Rinaldo) Date: Mon, 23 Jul 2012 01:08:51 -0500 Subject: [pm-h] August Houston.pm Meeting In-Reply-To: <20120722223932.75561af6@cygnus> References: <20120722223932.75561af6@cygnus> Message-ID: I think we've done alotta technical meetings. I suggest a social meeting. While I like the black lab, my feel is it limits group conversation by nature of the seating. Assuming it'll be hot, I suggest Brian O'Neill's Irish Pub in the Village. They've got quite a few rooms in the bar, and I suspect it'll be easy to claim something. If it doesn't work out for some reason, we're right next to The Gingerman or Baker Street, both wich are decent choices for a gathering. That's My 2 cents. Anyone else have a suggestion? Todd On Sun, Jul 22, 2012 at 10:39 PM, G. Wade Johnson wrote: > Anyone willing to do a presentation in August? > Or should we consider doing a social meeting this time? > > G. Wade > -- > The three principal virtues of a programmer are Laziness, Impatience, > and Hubris. -- Larry Wall > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From gwadej at anomaly.org Mon Jul 23 05:09:41 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 23 Jul 2012 07:09:41 -0500 Subject: [pm-h] August Houston.pm Meeting In-Reply-To: References: <20120722223932.75561af6@cygnus> Message-ID: <20120723070941.5ef84019@cygnus> On Mon, 23 Jul 2012 01:08:51 -0500 Todd Rinaldo wrote: > I think we've done alotta technical meetings. I suggest a social > meeting. > > While I like the black lab, my feel is it limits group conversation by > nature of the seating. Assuming it'll be hot, I suggest Brian > O'Neill's Irish Pub in the Village. They've got quite a few rooms in > the bar, and I suspect it'll be easy to claim something. If it doesn't > work out for some reason, we're right next to The Gingerman or Baker > Street, both wich are decent choices for a gathering. > > That's My 2 cents. Anyone else have a suggestion? > Todd That's one vote for a social (with a new location). Any others? G. Wade -- Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius, and a lot of courage, to move in the opposite direction. -- Albert Einstein From rurban at x-ray.at Mon Jul 23 06:27:47 2012 From: rurban at x-ray.at (Reini Urban) Date: Mon, 23 Jul 2012 08:27:47 -0500 Subject: [pm-h] August Houston.pm Meeting In-Reply-To: <20120723070941.5ef84019@cygnus> References: <20120722223932.75561af6@cygnus> <20120723070941.5ef84019@cygnus> Message-ID: I favor Todd's choice. On Jul 23, 2012 7:09 AM, "G. Wade Johnson" wrote: > On Mon, 23 Jul 2012 01:08:51 -0500 > Todd Rinaldo wrote: > > > I think we've done alotta technical meetings. I suggest a social > > meeting. > > > > While I like the black lab, my feel is it limits group conversation by > > nature of the seating. Assuming it'll be hot, I suggest Brian > > O'Neill's Irish Pub in the Village. They've got quite a few rooms in > > the bar, and I suspect it'll be easy to claim something. If it doesn't > > work out for some reason, we're right next to The Gingerman or Baker > > Street, both wich are decent choices for a gathering. > > > > That's My 2 cents. Anyone else have a suggestion? > > Todd > > That's one vote for a social (with a new location). Any others? > > G. Wade > -- > Any intelligent fool can make things bigger, more complex, and more > violent. It takes a touch of genius, and a lot of courage, to move in > the opposite direction. -- Albert Einstein > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Tue Jul 24 08:54:42 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 24 Jul 2012 10:54:42 -0500 Subject: [pm-h] Is this possible? Message-ID: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> Hi: Using LWP and HTTP-Request can I do this all in the same file? Collect some some form data such as User Name and Password using a form. Open a persistent connection to a validator.cgi file on the server and receive the results. Reset the display to show the consequence of either success of failure. It appears to me that after the form is run, using PERL is no longer possible. So can JavaScript execute the necessary calls to the validator.cgi file? Or can HTTP-Request-Form do this? Did I make sense? Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From rasto at cm4msaa7.com Tue Jul 24 11:32:55 2012 From: rasto at cm4msaa7.com (lee latham) Date: Tue, 24 Jul 2012 13:32:55 -0500 Subject: [pm-h] Is this possible? In-Reply-To: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> References: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> Message-ID: Fraser, I think you just need to use the CGI module. You'll need some notion of a session, as well. Lee On Tue, Jul 24, 2012 at 10:54 AM, Fraser Baker wrote: > Hi: > > Using LWP and HTTP-Request can I do this all in the same file? > > Collect some some form data such as User Name and Password using a form. > > Open a persistent connection to a validator.cgi file on the server and > receive the results. > > Reset the display to show the consequence of either success of failure. > > It appears to me that after the form is run, using PERL is no longer > possible. So can JavaScript execute the necessary calls to the validator.cgi > file? Or can HTTP-Request-Form do this? > > Did I make sense? > > Fraser > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From estrabd at gmail.com Wed Jul 25 08:51:54 2012 From: estrabd at gmail.com (B. Estrade) Date: Wed, 25 Jul 2012 10:51:54 -0500 Subject: [pm-h] Fw: Books and News from the O'Reilly User Group Program--July22 In-Reply-To: <20120722132457.0cef9671@cygnus> References: <20120722132457.0cef9671@cygnus> Message-ID: Data Jujitsu looks like a really interesting read. Brett On Sun, Jul 22, 2012 at 1:24 PM, G. Wade Johnson wrote: > Announcement from O'Reilly > > Begin forwarded message: > > View this information as HTML in your browser, click here: > http://post.oreilly.com/rd/9z1zm8lqgal1oscus9890fu07e90kvj4gsji70jrgl8 > > Hello, > > We've got something special for you this week: We're proud to announce > the publication of a free new Radar Report. 'Data Jujitsu: The Art of > Turning Data into Product' is authored by DJ Patil. A founding > scientist at LinkedIn where his team pioneered the "People You Know" > feature, Patil coined the term "data scientist" and has since been > instrumental in establishing and codifying the profession. The new > Radar Report offers invaluable information for you and your colleagues. > > Download your copy now: > http://post.oreilly.com/rd/9z1zlio20cbfhnvnm4b3mkr4bmhgh2okb1c9avascqg > > --Marsee Henon & Jon Johns > > ================================================================ > Available for Review > ================================================================ > > The UG team is looking for book reviewers for the following books. > Consider posting your reviews on Amazon, Slashdot, oreilly.com, and/or > your blog. > > Data Jujitsu: The Art of Turning Data into Product > http://post.oreilly.com/rd/9z1z0qjfvogqh2kk8po3vsei5e7m3en18m5gm14f4go > > Photoshop CS6 Unlocked, > http://post.oreilly.com/rd/9z1zfmo0vl4r8m6j0u7o7qrbpu93dpu179dekqts5bg > > 2nd Edition Learning Rails 3 > http://post.oreilly.com/rd/9z1zcpm6iu7vjah1i9splsi0bjehg7jgoshdb5vc4n8 > > It's easy for you to request books for your meetings or special > events?just email usergroups at oreilly.com and include the words "book > request" in the subject line. Don't forget to include your deadline and > shipping address. Prefer ebooks? We can send you a free ebook > certificate to print out for raffles or book reviewers. > > > ================================================================ > New Releases > ================================================================ > > Photoshop CS6 Unlocked, 2nd Edition > http://post.oreilly.com/rd/9z1z4ld0bfvs95314ldl8v1c6k2a5anbhhgovbpcaag > > Exploring Everyday Things with R and Ruby > http://post.oreilly.com/rd/9z1z55nd5u2o6f9m053c22dsdgk4m4adstsdn0c92oo > > Microsoft? SQL Server? 2012 Analysis Services: The BISM Tabular Model > http://post.oreilly.com/rd/9z1zd92cel9cb8tims5damr2esmbekdvv1so2ok3gjg > > Mobile JavaScript Application Development > http://post.oreilly.com/rd/9z1zbkcc5kc7hjtrrkkvv83c89d6e6pej5mno2dct00 > > Training Kit (Exam 70-462): > Administering Microsoft? SQL Server? 2012 Databases > http://post.oreilly.com/rd/9z1zbmkel8tlrbhn56mcedc7uqddm6ttrudvj34htg0 > > Windows PowerShell for Developers > http://post.oreilly.com/rd/9z1zp0r90vr9gjsqjvrpfolh3b0pcibrjdg6bbtbil0 > > > Economic Impact of Open Source on Small Business: A Case Study > > Written by O'Reilly editors Roger Magoulas, Mike Hendrickson, and Tim > O'Reilly, our new Radar Report, 'Economic Impact of Open Source on Small > Business,' is a must-read. It's also free. > Download it now: > http://post.oreilly.com/rd/9z1zpklu4hldmg4sra1tgrurs8bfgnr18hoeor5b7vg > > > Northeast PHP Conference (Boston, August 11-12) > > Tickets for the Northeast PHP conference in Boston are now on sale. Join > over 300 expert web developers, entrepreneurs, and designers from all > over the Northeast. Learn and share on over 40 topics on PHP, Web > Technology, and Design and UX. Each ticket includes everything you > need, including food, drinks, and t-shirts. Get your tickets today. > http://post.oreilly.com/rd/9z1z7cqdu5ia5b88hv5vaetd3sisnd5n00chnglc4mo > > > O'Reilly Animal Project Launches at OSCON 2012 > > Meet the "Animal Ladies." O'Reilly Media designers Edie Freedman and > Karen Montgomery discuss the impetus for the O'Reilly Animal project > and their desire to protect the endangered species that have graced our > book covers over the years. Watch this short introductory video about > the project, which debuted at the 2012 Open Source Convention in > Portland. > http://post.oreilly.com/rd/9z1z3bgfsmch4l0bah19j956i27vt3l3is4r6nhhn30 > > Making Group Buys Easier > > If your group or its members use credit cards to handle transactions for > things like dues and group buys, you know it can be a pain to setup. > Over on x.com, Darren Levy writes about the 2-5% lift he got when they > integrated PayPal into his company's signup system. > Read the article: > http://post.oreilly.com/rd/9z1z0geoft1r0me043cb0qm0tnoqigvu0hdb6t5e6jg > > ================================================================ > Meet Experts Online: Upcoming Free Webcasts > ================================================================ > > We've got some great webcasts coming up soon that you'll want to tell > your members about. They're excellent opportunities to learn something > new directly from our experts. > > Creating Modern Web Applications Utilizing HTML5 APIs > with Ido Green > July 31, 10 AM PT > http://post.oreilly.com/rd/9z1zr78qjn7qg8ig7mhn2grig12bmr2agqh6o8akk20 > > Debugging Heap Memory Corruptions > with Tarik Soulami > Aug 2, 10 AM PT > http://post.oreilly.com/rd/9z1zkkkucv46nogskdetsabr73n9stolei1q6svuuso > > An Introduction to Machine Learning for Hackers > Spt 18, 10 AM PT > http://post.oreilly.com/rd/9z1znhucifprq4t4f244ot2usfluf1tt53kgie3h41o > > ================================================================ > Put Up a Banner & Get a Free Book?UG leaders only > ================================================================ > > We're looking for groups to display our discount banners on their > websites. If you send us your group's site with one or more banners > posted, we'll send you the O'Reilly book(s) of your choice. > > Choose from the following list of banners: > > UG Program Banners > http://post.oreilly.com/rd/9z1zg0h1sk4s73195ccjplg9o2m7ua8fj2f1fc5ltu0 > > UG Discount Banners > http://post.oreilly.com/rd/9z1ze8d6g6sutsrkbkrjvuiuf2avgtm7vqmpc65lm1g > > MAKE Magazine Banners > http://post.oreilly.com/rd/9z1z8jscrgtgd85u5p7dlaev5gk30kb1c6898jgrsm8 > > Strata + Hadoop World Banners > http://post.oreilly.com/rd/9z1zekj8o8ba4ah6fnveju6mtj3us00jeuku5bj5pi8 > > Strata Conference in London > http://post.oreilly.com/rd/9z1zsu9rcsj061bosiqh3d134h15v6a843kb2qq4e9g > > ================================================================ > Buy 1 Ebook, Get 1 Free with your user group discount code: DSUG2 > ================================================================ > > Looking for more? Visit oreilly.com > > Until next time, > > Marsee Henon & Jon Johns > > > Forward this announcement: > http://post.oreilly.com/f2f/9z1znt5suvt2sgvmbvv6qhvjl2rocce5jo0dudm5mmo > > -- > Understanding is a three-edged sword. -- Kosh in "Deathwalker" > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From mrallen1 at yahoo.com Wed Jul 25 09:57:07 2012 From: mrallen1 at yahoo.com (Mark Allen) Date: Wed, 25 Jul 2012 09:57:07 -0700 (PDT) Subject: [pm-h] Is this possible? In-Reply-To: References: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> Message-ID: <1343235427.53079.YahooMailNeo@web164003.mail.gq1.yahoo.com> I'd suggest in "Modern Perl" you'd want to create some kind of persistent web service to replace the "validator.cgi" using Dancer (or some other $WEB_FRAMEWORK) A really simple one would be something like https://gist.github.com/3177150 On the front side you could have another Dancer app that shows the form - a really concise example is here in my Dancer tutorial at line 83 https://bitbucket.org/mrallen1/dancr/src/7ca51c18f350/dancr.pl#cl-83 And instead of using the code that's in that sub, you could simple do something like my $req = HTTP::Request->new( ? 'POST',? ? 'http://localhost:5000/auth',? ? {? ? ? username => params->{username},? ? ? password => md5_hex(params->{'password'}? ? } ); my $response = $ua->request($req) if ( $response->is_success ) { ? # in like flynn ? # do stuff here } else { ? # "not authorized" } If you want to get ridiculously fancy, you could check out something like AnyEvent::HTTP to make asynchronous auth requests.[1] --Mark [1] But you might not want to given that the AnyEvent learning curve can feel steep and the author of AnyEvent is kind of a jerkface at times. ________________________________ From: lee latham To: "Houston.pm located in Houston, TX." Sent: Tuesday, July 24, 2012 1:32 PM Subject: Re: [pm-h] Is this possible? Fraser, I think you just need to use the CGI module. You'll need some notion of a session, as well. Lee On Tue, Jul 24, 2012 at 10:54 AM, Fraser Baker wrote: > Hi: > > Using LWP and HTTP-Request can I do this all in the same file? > > Collect some some form data such as User Name and Password using a form. > > Open a persistent connection to a validator.cgi file on the server and > receive the results. > > Reset the display to show the consequence of either success of failure. > > It appears to me that after the form is run, using PERL is no longer > possible. So can JavaScript execute the necessary calls to the validator.cgi > file? Or can HTTP-Request-Form do this? > > Did I make sense? > > Fraser > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at aj5.org Wed Jul 25 10:08:08 2012 From: me at aj5.org (Alan Spector) Date: Wed, 25 Jul 2012 13:08:08 -0400 Subject: [pm-h] Is this possible? In-Reply-To: <1343235427.53079.YahooMailNeo@web164003.mail.gq1.yahoo.com> References: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> <1343235427.53079.YahooMailNeo@web164003.mail.gq1.yahoo.com> Message-ID: Dancer has been getting a lot of good press lately. There is also Catalyst as well. http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.90015/lib/Catalyst.pm On Wed, Jul 25, 2012 at 12:57 PM, Mark Allen wrote: > I'd suggest in "Modern Perl" you'd want to create some kind of persistent > web service to replace the "validator.cgi" using Dancer (or some other > $WEB_FRAMEWORK) > > A really simple one would be something like > > https://gist.github.com/3177150 > > On the front side you could have another Dancer app that shows the form - a > really concise example is here in my Dancer tutorial at line 83 > > https://bitbucket.org/mrallen1/dancr/src/7ca51c18f350/dancr.pl#cl-83 > > And instead of using the code that's in that sub, you could simple do > something like > > my $req = HTTP::Request->new( > 'POST', > 'http://localhost:5000/auth', > { > username => params->{username}, > password => md5_hex(params->{'password'} > } > ); > > my $response = $ua->request($req) > > if ( $response->is_success ) { > # in like flynn > # do stuff here > } else { > # "not authorized" > } > > If you want to get ridiculously fancy, you could check out something like > AnyEvent::HTTP to make asynchronous auth requests.[1] > > --Mark > > [1] But you might not want to given that the AnyEvent learning curve can > feel steep and the author of AnyEvent is kind of a jerkface at times. > > > ________________________________ > From: lee latham > To: "Houston.pm located in Houston, TX." > Sent: Tuesday, July 24, 2012 1:32 PM > Subject: Re: [pm-h] Is this possible? > > Fraser, > > I think you just need to use the CGI module. > > You'll need some notion of a session, as well. > > Lee > > On Tue, Jul 24, 2012 at 10:54 AM, Fraser Baker > wrote: >> Hi: >> >> Using LWP and HTTP-Request can I do this all in the same file? >> >> Collect some some form data such as User Name and Password using a form. >> >> Open a persistent connection to a validator.cgi file on the server and >> receive the results. >> >> Reset the display to show the consequence of either success of failure. >> >> It appears to me that after the form is run, using PERL is no longer >> possible. So can JavaScript execute the necessary calls to the >> validator.cgi >> file? Or can HTTP-Request-Form do this? >> >> Did I make sense? >> >> Fraser >> >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From matt at lessthan3.net Wed Jul 25 11:17:20 2012 From: matt at lessthan3.net (Matthew Dees) Date: Wed, 25 Jul 2012 13:17:20 -0500 Subject: [pm-h] Is this possible? In-Reply-To: References: <6F47045526754A9DB414FBC13DFAB8FB@CHEETAH> <1343235427.53079.YahooMailNeo@web164003.mail.gq1.yahoo.com> Message-ID: I like mojolicious: http://mojolicio.us/ On Wed, Jul 25, 2012 at 12:08 PM, Alan Spector wrote: > Dancer has been getting a lot of good press lately. There is also > Catalyst as well. > http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.90015/lib/Catalyst.pm > > > > On Wed, Jul 25, 2012 at 12:57 PM, Mark Allen wrote: > > I'd suggest in "Modern Perl" you'd want to create some kind of persistent > > web service to replace the "validator.cgi" using Dancer (or some other > > $WEB_FRAMEWORK) > > > > A really simple one would be something like > > > > https://gist.github.com/3177150 > > > > On the front side you could have another Dancer app that shows the form > - a > > really concise example is here in my Dancer tutorial at line 83 > > > > https://bitbucket.org/mrallen1/dancr/src/7ca51c18f350/dancr.pl#cl-83 > > > > And instead of using the code that's in that sub, you could simple do > > something like > > > > my $req = HTTP::Request->new( > > 'POST', > > 'http://localhost:5000/auth', > > { > > username => params->{username}, > > password => md5_hex(params->{'password'} > > } > > ); > > > > my $response = $ua->request($req) > > > > if ( $response->is_success ) { > > # in like flynn > > # do stuff here > > } else { > > # "not authorized" > > } > > > > If you want to get ridiculously fancy, you could check out something like > > AnyEvent::HTTP to make asynchronous auth requests.[1] > > > > --Mark > > > > [1] But you might not want to given that the AnyEvent learning curve can > > feel steep and the author of AnyEvent is kind of a jerkface at times. > > > > > > ________________________________ > > From: lee latham > > To: "Houston.pm located in Houston, TX." > > Sent: Tuesday, July 24, 2012 1:32 PM > > Subject: Re: [pm-h] Is this possible? > > > > Fraser, > > > > I think you just need to use the CGI module. > > > > You'll need some notion of a session, as well. > > > > Lee > > > > On Tue, Jul 24, 2012 at 10:54 AM, Fraser Baker > > wrote: > >> Hi: > >> > >> Using LWP and HTTP-Request can I do this all in the same file? > >> > >> Collect some some form data such as User Name and Password using a form. > >> > >> Open a persistent connection to a validator.cgi file on the server and > >> receive the results. > >> > >> Reset the display to show the consequence of either success of failure. > >> > >> It appears to me that after the form is run, using PERL is no longer > >> possible. So can JavaScript execute the necessary calls to the > >> validator.cgi > >> file? Or can HTTP-Request-Form do this? > >> > >> Did I make sense? > >> > >> Fraser > >> > >> > >> _______________________________________________ > >> Houston mailing list > >> Houston at pm.org > >> http://mail.pm.org/mailman/listinfo/houston > >> Website: http://houston.pm.org/ > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > > > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: