Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cgrau (3787)

cgrau
  (email not shown publicly)
http://sirhc.us/

Journal of cgrau (3787)

Tuesday August 18, 2009
04:51 PM

San Diego Perl Mongers August Meeting and Presentation

The San Diego Perl Mongers is having their normal meeting of the month this week on Thursday, August 20, from 7:00 pm until 9:00 pm, but it's in a not-so-normal location. DrJays.com will be hosting us in meeting room B of the Courtyard by Marriott in Sorrento Valley this month, so we will get to hear about some technology and projects they are working on. Come on by to learn something new, chat about something old, and have some fun with fellow Mongers. All the info is on the website, and don't be afraid to ask on our mailing list if there are any questions.

Also, you don't need to RSVP, but it would be helpful to get an idea of how many people plan to be there. Drop us a line in the comments or on our mailing list if you think you might make it.

We look forward to seeing you all there!

http://sandiego.pm.org/

Thursday October 09, 2008
01:01 PM

Export::Lexical

I'm currently on a brief leave from $work after the birth of my daughter last Tuesday. Since she hasn't required that much attention, I wanted to take advantage of the time off and be productive. I'm always talking about how I want to write more code to release, so I've finally put my money where my mouth is. I released Export::Lexical last night.

It came from an aside made during a Perl 5.10 class taught by Damian Conway last week. He was demonstrating the lexically scoped module feature (see perlpragma) with a simple debugging module with lexical scope. When asked if it was available on the CPAN, he said it wasn't, because he would rather see a module available that generalized the technique. When he suggested that someone in the audience might be the one to write it, I jumped.

It's a fairly simple and straight-forward module, providing a single subroutine attribute: :ExportLexical. When marked with this attribute, the subroutine is then exported only to the lexical scope in which the module is used. The no keyword also works, in the same way as no strict and no warnings. Additionally, individual subroutines can be specified in the same way as use strict 'refs' or no warnings 'redefine' are used.

The module makes all of this easy, without the need to fully understand perlpragma or the need to code up all the boilerplate infrastructure. We like easy, right?

package Foo;

use strict;
use warnings;
use Export::Lexical;

sub foo :ExportLexical {
    # do something
}

sub bar :ExportLexical {
    # do something else
}

1;

No, really. That's it. It's rather simple to use the resulting module as well.

#!perl

use strict;
use warnings;

{
    use Foo;

    foo();    # calls foo()
    bar();    # calls bar()

    {
        no Foo 'bar';

        foo();    # calls foo()
        bar();    # bar() is a no-op
    }
}

I'm pretty excited that I've finally taken the time to contribute. Hopefully this will get me on a roll and will be the first of many. I actually have several I've developed at $work to simplify programs written to work with LSF, but I'm still waiting for legal to allow me to publish them under an Open Source license.

Wednesday September 24, 2008
03:54 PM

Damian Conway is coming...

On Tue, Sep 23, 2008 at 11:36:53PM -0700, Bob Kleemann wrote:

Ladies and Gentlemen, Techies and Programmers,

The San Diego Perl Mongers are happy to announce, for one night only, the one and only Damian Conway! He will be appearing Monday night, September 29 at the Qualcomm Building Q Auditorium. Please arrive by 7 PM to hear him muse on a myriad of topics, including, but not limited to (in his own words):

modern archaeological techniques, bidirectional cross- dressing, Ancient Greeks hackers, improbable romances, the real Club Med, why programmers shouldn't frequent casinos, the language of moisture vaporators, C++ mysticism, conversational Latin, state machines on steroids, feeding the dog the old-fashioned way, the shocking truth about anime, programming without variables or subroutines, the Four Voids of the Apocalypse, Microsoft's new advertising campaign, what the Romans used instead of braces, drunken stonemasons, the ancient probabilistic wisdom of bodkins, how to kill a language with a single byte, and the price of fish.

Note: Topics are subject to change without notice, reason, or warning, so please pay attention!

So please come on by and learn something new. Bring some friends if you like, and have fun in the process.

Please let me know if there are any questions.

Directions can be found on the San Diego Perl Mongers web site.

Friday August 15, 2008
10:47 AM

San Diego Perl Mongers August Meeting

The San Diego fork of the Perl Mongers have a meeting scheduled for Thursday, 21 August 2008 at 7:00pm. This is the first meeting since I attended OSCON, so I expect to entertain plenty of questions on that topic. Including, for those not lucky (insane?) enough to attend as many Damian Conway talks as I, the meaning of readline!open!((*{$!},$/)=\$file) and why it should (shouldn't?) be used it that next big project.

As with most of our meetings, this will be an informal gathering at a trendy fast casual restaurant. We're a friendly group (really) and all are welcome, regardless of Perl experience.

Time and location, as always, is available at our web site, http://sandiego.pm.org/.

Update: Of course, the meeting is on the 21st, not the 12th as I had originally written.

Wednesday August 06, 2008
11:57 AM

I'm Hiring Perl Developers

Back when I was looking for a new job, it drove me nuts how difficult it was to find a company hiring pure Perl developers. I ended up in hybrid system administration position where I spend as much time as possible writing Perl to do my job for me. Now that there is more work than I can handle on my own, I'm driven nuts by the dearth of Perl programmers in the marketplace, at least in San Diego.

Ideally, I'd like to hire two experienced Perl developers with system administration experience in a Linux or Solaris environment. Actually, I'd really like to see one of those developers be at a junior-levelmy contribution to the mentoring and development of an up and coming Perl hacker.

Anyone interested can apply directly on my company's web site.

Wednesday November 07, 2007
09:05 PM

San Diego Perl Mongers November Meeting

The San Diego Perl Mongers group will be having their regularly scheduled meeting at 7:00pm on Monday, November 12, 2007. Not so regular, however, is what we'll be doing. We have a presentation this month! David Moore will be joining us to talk about the different Perl/C interfaces, SWIG and XS. It should be interesting, so come on out and join us.

We'll be meeting at in Qualcomm's building Q auditorium.

6455 Lusk Blvd.
San Diego, CA 92121

Google Map (This is not quite right. The building is on the west side of Pacific Center Blvd. It's the building with the colorful roof.)

Tuesday October 02, 2007
01:50 PM

SanDiego.pm Hosting a Night with Damian Conway

Thursday, 4 October 2007, 7:00pm

Damian Conway is coming to town, and the San Diego Perl Mongers are pleased to be hosting him for an evening seminar. Damian will be presenting something we're all sure to fine extremely interesting.

For details and directions, see the SanDiego.pm web site.

Wednesday August 01, 2007
12:55 PM

Peeing on My Blog, Technorati Style

As mentioned by Schwern, Technorati requires you to claim your blog with a special post. I've already done so at my personal, not-always-Perl-y blog.

Now I'm doing it here. Don’t mind the smell, I’m sure it’ll clear up soon.

Monday July 30, 2007
10:06 PM

That's new()s to Me

I was recently tasked to work with a development team in another department at work. During a code review to get me up to speed on their project, I asked why all of their classes had an identical new() subroutine, even though many of them inherited from the same parent class.

The lead developer told me, "You can't inherit new in Perl."

It hasn't been a very fun project to work on.

Monday July 23, 2007
01:48 AM

OSCON 2007

I'm in Portland, Oregon, for OSCON 2007. I'm going to try to write about it as much as possible and post as many pictures as possible for all of my fellow Perl Mongers who couldn't make it. For any of my fellow Perl Mongers who are here in Portland, drop me a line. I'd love to have a Perl BOF or even grab a pint.