Let the party begin...

Jeff Zucker jeff at vpservices.com
Tue Jul 25 13:24:13 CDT 2000


Well, since I just created a new hammer called DBD::RAM and its soon to
be released tied-hash cousin AnyData.pm, everything looks like a nail to
me.  Here's some code (that actually runs) for the PDX crowd:

use AnyData;
my %perl_mongers = AnyData::tie_db({
    data_source => <DATA>, 
    data_type   => 'XML', 
});
print %perl_mongers{pdx}->{motto};

__END__
<?xml version="1.0" ?>
<perl_mongers>
  <chapter name='pdx'>
    <motto>
      TMTOWTDI-BOOWTPW
      There's more than one way to do it 
      - but only one way to pronounce Willamette       
    </motto>
    <local_diety name='Randal'/>
    <local_diety name='Tom'/>
    <summer_picnic_meeting time='Soon to be announced?"/>
  </chapter>
</perl_mongers>

Coming soon to a CPAN near you!  You heard it first right here in puddle
city.

-- 
Jeff Zucker
TIMTOWTDI



More information about the Pdx-pm-list mailing list