I've never had a reason to use multiple beginning-of-line anchors in a regex, so I wondered if it would work. I guess it does.
use v5.10; my $string = 'HERE'; This is line one This is a cat This is a dog This is a lizard This is a bird That is a ostrich HERE my @matches = $string =~ m/ ^This\ is\ a\ (\S+) \s+ ^T…
David Farrell is conducting some Reddit experiments with his Perly::Bot. Through the _perly_bot user, he automagically injects things into the Perl subreddit, making a bit more like a feed aggregator. But that's just a start.
I like reddit because it allows for casual feedback, either up or down (unlike Likes). Some of that information could feed back into the bot. If someone's entries in blogs.perl.org, for instance, are consistently dis…
In my quest to clean up my CPAN distributions and to normalize them, I've been working on CPAN::Critic, my unreleased tool that looks at my directory and complains about things I don't like. That's going nicely for the most part, but I ran into a small problem that's taken me down a bit of a rabbit hole of C++. All this in the same week I wrote a Python program.
I want to check that the minimum version of Perl the code requires is the same as the
Most of my READMEs are lame. I have stuff that no one will really ever use. As I'm cleaning up my distros, I starting thinking about what should be in there. To do that, I have to think about the people who would read such a thing.
A long time ago in an internet far, far away, READMEs were small documents that you could inspect before you committed to the full download. After that, we neglected them for a long time. Then GitHub started formatting them, so now they are interesting again.
But who would read them?
Some people turn the embedded module documen…
Search this blog
- I broke plenv and cpanm, and the systems they run on
- Huh. Multiple beginning-of-line anchors work
- What could a reddit bot do with feedback?
- CPAN Cleaning Day 2457044: Compiler::Lexer
- What should be in a CPAN distro README?
- My CPAN Cleaning, Day 2457034.500000
- CPAN Cleaning Day 2457027: Changes and README
- My CPAN Cleaning, Day 2457025.500000
- My CPAN Cleaning, Day 2457023.500000
- Saint Perl 6 Hack Day wrap-up