NACO Normalization and Text::Normalize

2003-08-25 Thread Brian Cassidy
if I do decide to upload it to CPAN, perhaps a base class (Text::Normalize) should be created to which NACO normalization could be added as a subclass. Any advice would be greatly appreciated. Thanks in advance, -Brian Cassidy ( [EMAIL PROTECTED] ) http://www.gordano.com - Messaging for

RE: NACO Normalization and Text::Normalize

2003-08-26 Thread Brian Cassidy
r sub as a second parameter. So, I'm still not 100% sure it should be a MARC-specific module rather than a general normalizing module. Perhaps we need to explore exactly how a transform would interact with a MARC::Record object if we wish to go in that direction. -Brian Cassidy ( [EMAIL PROTECTED] ) http://www.gordano.com - Messaging for educators.

RE: NACO Normalization and Text::Normalize

2003-08-27 Thread Brian Cassidy
inconsistent. However, there's no way to say that $a > $b for a M::R (is there? :). One might want to be able to sort normalized strings, so it makes sense that compare()'ing two strings does a "cmp". How's that sound? -Brian Cassidy ( [EMAIL PROTECTED] ) [1] http://lcweb.loc.gov/catdir/pcc/naco/normrule.html http://www.gordano.com - Messaging for educators.

RE: XML problems

2003-09-04 Thread Brian Cassidy
installed, then it's just not immediately accessible in your current PATH. HTH, -Brian Cassidy > -Original Message- > > I got it installed and thought I was pretty smart until I tried > (unsuccessfully) to run it. My syntax and error message are as follows. > > D

RE: First alphanumeric character

2003-11-21 Thread Brian Cassidy
It's Friday, so I may be wrong but... $_ = '__---*&^Test'; /([a-z0-9])/i; print $1; gives me: T -Original Message- From: Arnold, Mark D [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: First alphanumeric character I suppose this should be

RE: HTML::Parser walkthrough?

2004-01-27 Thread Brian Cassidy
Ben, Personally, when dealing with tabular data, I prefer to use HTML::TableExtract. Here's a little program I whipped up to grab the current temperature (in degrees F): # --- use HTML::TableExtract; use Data::Dumper; open( FILE, 'NOAA.html' ) or die "cannot open file: $!"; my $data = do { loca

DublinCore::Record 0.01 and Text::Normalize::NACO 0.01 Released

2004-11-15 Thread Brian Cassidy
spec. There's one mentioned on the OCLC FRBR page [1], but I can't seem to find the data itself. Any help would be greatly appreciated. Cheers, -Brian Cassidy [1] http://www.oclc.org/research/projects/frbr/algorithm.htm http://www.gordano.com - Messaging for educators.

MARC::Crosswalk::DublinCore 0.01 released

2004-11-19 Thread Brian Cassidy
k (DC->MARC) and having the sample program (marc2dc) return DC/XML output rather than an ad-hoc text format. You are encouraged to check it out and report any issues/suggestions to the list or directly to me. -Brian Cassidy http://www.gordano.com - Messaging for educators.

RE: option items sorted in pop-up menus

2005-03-10 Thread Brian Cassidy
Hi Eric, > -Original Message- > >$html .= $cgi->popup_menu(-name => 'id', -values => \%terms); > > where: > >-name is the name of the parameter I want returned >-values is a reference to a hash containing id and value pairs. > > The problem is that -values is a hash, and whe

RE: Help (Object oriented perl)

2005-12-12 Thread Brian Cassidy
Walter, > -Original Message- > my $relation = $root->getRelation(); > my @RelationModifiers = $relation->getModifiers(); > my $RelationModifiers = @RelationModifiers ; > > All of which executes just fine, returning reasonable values: > $relation: CQL::Relation=HASH(0x1b781b0) > $RelationM