Yer book is very very nice, and highly anticipated (I can't wait to get a hard copy). I'll keep on sending you comments. Since you mention the latest snapshot, I whipped up a little something useful (well to me anyway):
#!/usr/bin/perl -w # ## Please save me in the dir where you wish to "mirror" japhys website $^W = 1; use strict; use HTML::LinkExtor; use LWP::Simple; use URI; my $root = 'http://japhy.perlmonk.org/book/'; my %mirrors = (); require HTML::LinkExtor; my $p = HTML::LinkExtor->new( sub { my($tag, %LNK) = @_; if(($tag eq "a") and ($LNK{href} =~m/^$root/i)) { printf "added %s \n", $mirrors{$LNK{href}} = (URI->new($LNK{href})->path_segment +s())[-1]; } }, $root); printf " fetching index.pl %s\n", getstore($root,"index.html"); $p->parse_file("index.html"); while (my ($url, $localfile) = each(%mirrors)) { print "mirroring $url => $localfile\n"; printf "%s\n", mirror($url, $localfile); }

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


In reply to (crazyinsomniac) Re: Regex Book by crazyinsomniac
in thread Regex Book by japhy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.