<div dir="ltr">How's this for TIMTOWTDI? WWW::Mechanize::Treebuilder throws warnings for a depracted module, but it works on my machine...<div><br></div><div><div><span style="font-family:'courier new',monospace">use v5.20;</span><br></div><div><font face="courier new, monospace">use WWW::Mechanize;</font></div><div><font face="courier new, monospace">use WWW::Mechanize::TreeBuilder;</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">my $mech = WWW::Mechanize->new;</font></div><div><font face="courier new, monospace">WWW::Mechanize::TreeBuilder->meta->apply($mech);</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">$mech->get( '<a href="http://rosettacode.org/wiki/FizzBuzz">http://rosettacode.org/wiki/FizzBuzz</a>' );</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">my @code_blocks = $mech->look_down('class', 'perl highlighted_source');</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">say $code_blocks[1]->as_text();</font></div><div><font face="courier new, monospace">eval($code_blocks[1]->as_text());</font></div></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br>John Dexter<br></div></div>
<br><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 1:44 PM, Jack Lupton <span dir="ltr"><<a href="mailto:jacklupton@gmail.com" target="_blank">jacklupton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That link for rosetta code is misspelled. It should be <br><br><a href="http://rosettacode.org/wiki/FizzBuzz" target="_blank">http://rosettacode.org/wiki/FizzBuzz</a><br><div class="gmail_extra"><br></div><div class="gmail_extra">DFW.pm is great. I'm glad I joined though I live in Austin. :)<br><br></div><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Sep 11, 2014 at 11:42 AM, John Fields <span dir="ltr"><<a href="mailto:wigthft@gmail.com" target="_blank">wigthft@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><p dir="ltr">Firstly,  I want to thank John Dexter for his Docker presentation, showing how to encapsulate a Mojolicious Web server and application for easy deployment. He got what all presenters get, a free dinner and that warm afterglow from making the world a better place (with more Perl in it).  :)</p>
<p dir="ltr">I challenged the attendees last night to do the FizzBuzz program.  We even had one programmer in attendance that had been asked to do it on a job interview the previous day!  We were one day late for him, but hopefully not for you..</p>
<p dir="ltr"><a href="Http://rosettecode.org/wiki/FizzBuzz" target="_blank">Http://rosettecode.org/wiki/FizzBuzz</a></p>
<p dir="ltr">Don't cheat.. Yourself.  Do it from scratch before looking at other's solutions.  We will pick 2 more, with increasing difficulty with one per week.  Also new member Andy Sohn will offer a short challenge and demonstrate answers live at the next Mongers.</p>
<p dir="ltr">So send in your code, and be as creative as you can!  TIMTOWTDI is a strength after all.  :)</p>
<p dir="ltr">Cheers,<br>
John and Tommy </p>
<br></div></div><span class="">_______________________________________________<br>
Dfw-pm mailing list<br>
<a href="mailto:Dfw-pm@pm.org" target="_blank">Dfw-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/dfw-pm" target="_blank">http://mail.pm.org/mailman/listinfo/dfw-pm</a><br>
<br></span></blockquote></div><br></div></div>
<br>_______________________________________________<br>
Dfw-pm mailing list<br>
<a href="mailto:Dfw-pm@pm.org">Dfw-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/dfw-pm" target="_blank">http://mail.pm.org/mailman/listinfo/dfw-pm</a><br>
<br></blockquote></div><br></div>