Slash Boxes
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 ]

jonasbn (1153)

  reversethis-{gro.napc} {ta} {nbsanoj}
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Saturday August 17, 2002
09:45 AM

YAPC::E anticipation and frustration

[ #7142 ]

I have been going over ther speakers list for the forthcoming YAPC::Europe at (, currently the list only holds names of speakers and the titles of their presentations, so in sheer frustration of the lag of information on the presentations I made a small script to parse the page and compare it with the list from OSCON 2002 (, I what did I find out, that actually only one of the presentations is repeated at YAPC::E, well I guess that is pretty much ok, but I still miss the information on the presentations from the organizers of YAPC::E.

Here is the script:

#!/usr/bin/perl -w

use strict;
use Data::Dumper;

my $debug = 0;
my %speakers;

my $osconfile = "oscon_presentators.html";
my $osconregex = '^.*e_spkr\/\d+">(.*)$';
my $yapcefile = "yapc-e_speakers.html";
my $yapceregex = '^(.*)';

my $speakers_ref = &process($osconfile, $osconregex, \%speakers);
$speakers_ref = &process($yapcefile, $yapceregex, $speakers_ref);

foreach my $speaker (keys %{$speakers_ref}) {
        if ($speakers_ref->{$speaker} > 1) {
                print "$speaker : ".$speakers_ref->{$speaker},"\n";

sub process {
        my ($file, $regex, $speakers_ref) = @_;

        open(FIN, ") {
                my $line = $_;
                #if ($line =~ s/^.*e_spkr\/\d+">(.*)$/$1/) {
                if ($line =~ s/$regex/$1/) {
                        $line =~ s///g;
                        print $line if $debug;
                        chomp $line;
                        $speakers_ref->{$line}++ if ($file =~ m/yapc/);
                        $speakers_ref->{$line} = 1 if ($file =~ m/oscon/);

        return $speakers_ref;

I guess I better send a mail to the organizers, it would also be nice with some information on the tutorials...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.