Re: passing parameters to function as variable

2007-08-17 Thread Leif Andersson
ource]', ); my $field = $record->field('245'); my $revised_245 = MARC::Field->new('245', '', '', @a245); $field->replace_with($revised_245); Leif Andersson -Ursprungligt meddelande- Från: Merritt H Lennox [mailto:[EMAIL

passing parameters to function as variable

2007-08-16 Thread Merritt H Lennox
Hi - I was wondering if anyone has tried creating a variable containing the parameter list for a MARC method. In the snippet below, I'm doing some cleanup on subfields of the 245, and inserting a default subfield h for those lacking one. I never know which subfields I'll have, so rather than usi